Hi,
I'm trying to add the ArcGIS iOS SDK to an existing Xcode project. I added ArcGIS via Swift Package Manager as well as by manually dragging and dropping ArcGIS.xcframework and Runtimecore.xcframework into "Frameworks, Libraries and Embedded Content".
With either way, when I compile and execute the project on an iPad Pro with M1 chip or an iPhone 13 Pro, the app crashes at startup with this error message.
What am I doing wrong?
dyld[1119]: Library not loaded: @rpath/Runtimecore.framework/Runtimecore
Referenced from: <EE272319-351D-300E-99E1-CA79CBAD8940> /private/var/containers/Bundle/Application/9DE567C3-D655-4DDE-A7D2-F0DC11BE6911/SMPAgentryClientFrameworkSetup.app/SMPAgentryClientFrameworkSetup
Reason: tried: '/private/preboot/Cryptexes/OS@rpath/Runtimecore.framework/Runtimecore' (errno=2), '/System/Library/Frameworks/Runtimecore.framework/Runtimecore' (errno=2, not in dyld cache)
Library not loaded: @rpath/Runtimecore.framework/Runtimecore
Referenced from: <EE272319-351D-300E-99E1-CA79CBAD8940> /private/var/containers/Bundle/Application/9DE567C3-D655-4DDE-A7D2-F0DC11BE6911/SMPAgentryClientFrameworkSetup.app/SMPAgentryClientFrameworkSetup
Reason: tried: '/private/preboot/Cryptexes/OS@rpath/Runtimecore.framework/Runtimecore' (errno=2), '/System/Library/Frameworks/Runtimecore.framework/Runtimecore' (errno=2, not in dyld cache)
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