You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using the Spotify SDK, which is given as an .xcframework file.
I import it on the plugin side and specify s.vendored_frameworks = 'ios/SpotifyiOS.xcframework' in my .podspec.
The plugin builds correctly.
When importing into an app, the Spotify framework comes with it.
But I have 2 problems when I import it into my Capacitor app:
It doesn't add automatically to the MyPlugin target
I get this error when building the Xcode project, on link MyPlugin (arm64) command :
ld: framework not found SpotifyiOS.xcframework
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Which tries to access it through
/Users/"user"/Library/Developer/Xcode/DerivedData/App-foijcczftibytrcbgsfdbvmdhfqr/Build/Products/Debug-iphoneos/MyPlugin/MyPlugin.framework/MyPlugin normal (in target 'MyPlugin ' from project 'Pods')
Maybe I have misconfigured the capacitor plugin or the Xcode project, I am open to suggestions.
Thank you for your help.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone,
I'm having some difficulties with my plugin on the IOS side.
cap doctor of plugin :
I am using the Spotify SDK, which is given as an .xcframework file.
I import it on the plugin side and specify
s.vendored_frameworks = 'ios/SpotifyiOS.xcframework'
in my .podspec.The plugin builds correctly.
When importing into an app, the Spotify framework comes with it.
But I have 2 problems when I import it into my Capacitor app:
link MyPlugin (arm64)
command :Which tries to access it through
Maybe I have misconfigured the capacitor plugin or the Xcode project, I am open to suggestions.
Thank you for your help.
Beta Was this translation helpful? Give feedback.
All reactions