-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Hi There,
Currently, we manage our codebase with Xcode workspace which contains multiple Xcode projects. And we try to install YouboraAVPlayerAdapter 6.7.1 for one of Xcode projects.
if I add YouboraAVPlayerAdapter for the submodule Xcode project (not the project of the host application),
It works well on simulators but crashes on the iOS devices
Package.resolved
{
"identity" : "avplayer-adapter-ios",
"kind" : "remoteSourceControl",
"location" : "https://github.com/NPAW/avplayer-adapter-ios.git",
"state" : {
"revision" : "a6c2cc7dc0e98b59c44dfcaafe7414834dd8d8a2",
"version" : "6.7.1"
}
},
{
"identity" : "lib-plugin-spm-ios",
"kind" : "remoteSourceControl",
"location" : "https://bitbucket.org/npaw/lib-plugin-spm-ios.git",
"state" : {
"revision" : "d43eda8593d62650b4f90958aadfa9179b6f6713",
"version" : "6.7.4"
}
},
Error log
dyld[789]: Library not loaded: @rpath/YouboraLib.framework/YouboraLib
Referenced from: <A94B05E7-E165-3CF4-951F-B2C25640E068> /private/var/containers/Bundle/Application/973CB421-68E6-4A99-B736-47DE1D3520F8/Tubi-iOS.app/Frameworks/Player.framework/Player
Actual result
crashes on the iOS devices
Expected result
No on the iOS devices
Note
I found a tricky solution to work around this issue: Add YouboraLib dependency to the project which contains the application target through SPM.

Metadata
Metadata
Assignees
Labels
No labels