- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Plan
Premium
Country
USA
Device
iPad Pro 10.5"
Operating System
iOS 16.2
My Question or Issue
I'm implementing the iOS SDK in my app for the first time. I've completed the setup steps in the Quick Start guide and added the configuration code. Xcode doesn't show any issues with this initial code, and the app builds and runs, but as it launches it crashes with this message in the console:
dyld[7603]: symbol not found in flat namespace '_OBJC_CLASS_$_SPTAppRemote'
symbol not found in flat namespace '_OBJC_CLASS_$_SPTAppRemote'
dyld config: DYLD_LIBRARY_PATH=/usr/lib/system/introspection DYLD_INSERT_LIBRARIES=/usr/lib/libBacktraceRecording.dylib:/usr/lib/libMainThreadChecker.dylib:/usr/lib/libRPAC.dylib:/Developer/Library/PrivateFrameworks/DTDDISupport.framework/libViewDebuggerSupport.dylib
I've double and triple checked the setup steps, including the bridging header and build settings. The framework is listed in the build phases. My app was originally Objective-C and was ported to Swift, so it had some of that setup already. I am using a couple other third-party frameworks successfully.
I am using SpotifyiOS.framework as shown in the Quick Start even though the download also included SpotifyiOS.xcframework, and other third-party frameworks I'm using are xcframeworks. But when I try using SpotifyiOS.xcframework instead, I get build errors on every line of the Spotify-related code.
What else can I check here? I feel like I've been through this in the past with other Swift vs Objective-C issues, but it's been too long to remember how I solved it.
Solved! Go to Solution.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page