I have added adobe AEPCore.xcframework in my application and kept it as "Do not embed" in framework setting.
Screenshot:
When i kill and relaunch the application, It got crashed with following logs.
dyld: Library not loaded: #rpath/AEPAssurance.framework/AEPAssurance
Referenced from: /private/var/containers/Bundle/Application/6EF49835-678A-4B35-913B-5D88E3433DA3/app_name.app/app_name
Reason: image not found
dyld: launch, loading dependent libraries
Reason: image not found
dyld: launch, loading dependent libraries
dyld: launch, loading dependent libraries
DYLD_LIBRARY_PATH=/usr/lib/system/introspection
DYLD_INSERT_LIBRARIES=/Developer/usr/lib/libBacktraceRecording.dylib:/Developer/usr/lib/libMainThreadChecker.dylib:/Developer/Library/PrivateFrameworks/DTDDISupport.framework/libViewDebuggerSupport.dylib
When I changed the framework setting to "Embed and Sign" Then release build fails on Jenkins.
Error:
No UUID for /var/folders/zc/jp3qpb057hgf99tct24j3ch1xk6rfy/T/XcodeDistPipeline.~~~RRv4h3/libAEPMobileServices_iOS.a(AEPMobileServices.o)
Any Help will be appreciated. Happy Coding.
I have resolved this issue by keeping the framework setting as "Embed and Sign in" and kept AEPMobileServices framework as "Do not Embed" because this framework is a static library and It should not be included in the code.
This resolves the crash from QA build and export error from the release build.
Related
I recently installed some pods into my iOS app (Firebase pods). The app was running fine but immediately after the 'pod install' the app crashes with the error message:
dyld: Library not loaded: #rpath/FBLPromises.framework/FBLPromises
Referenced from: /private/var/containers/Bundle/Application/82B650FF-B055-4D1C-9F24-7D37CD52351E/{app-name}.app/{app-name}
Reason: no suitable image found. Did find:
/private/var/containers/Bundle/Application/82B650FF-B055-4D1C-9F24-7D37CD52351E/{app-name}.app/Frameworks/FBLPromises.framework/FBLPromises: code signature invalid for '/private/var/containers/Bundle/Application/82B650FF-B055-4D1C-9F24-7D37CD52351E/{app-name}.app/Frameworks/FBLPromises.framework/FBLPromises'
I tried to set Embed & Sign in Project file > General > Frameworks, Libraries, and Embedded Content but that causes a compile error. Currently the libraries are set to Do not embed.
I also tried to create an entire new project and install the pods in that project but that causes the same error. Removing the pods from the project removes the error.
Uninstalling the app on the device, cleaning the build folder and rebuilding also did not solve the problem
Does anyone know how to fix this problem?
After getting an archived export of my app and installing it on device, app crashes and I get this error on device analytics data:
Termination Description: DYLD, dependent dylib
'#rpath/LegacyDatabase.framework/LegacyDatabase' not found for
'/private/var/containers/Bundle/Application/[APP_BUNDLE]/[APP_NAME].app/PlugIns/Widget.appex/Widget', tried but didn't find:
'#rpath/LegacyDatabase.framework/LegacyDatabase'
'/System/Library/Frameworks/LegacyDatabase.framework/LegacyDatabase'
you need to setup LegacyDatabase dependency.
Check build phases.
LegacyDatabase should be inside Dependencies and Link Binary with Libraries
Then check Build Settings
framework search paths should point to location fo LegacyDatabase
I am installing Alamofire, AlamofireImage and some other pods. pod target is a magplusframework, and my app target using the magplusframework which all pods have been installed.
Everything is fine but when I run the app. App got crashed and show error.
dyld: Library not loaded: #rpath/Alamofire.framework/Alamofire
Referenced from: /Users/abc/Library/Developer/Xcode/DerivedData/project-bbrgqfddrolbzefvpttmxgmmkkqn/Build/Products/Debug-iphonesimulator/magplusframework.framework/magplusframework
Reason: image not found
I also tried Always Embed Swift Standard Libraries to YES in both the target magplusframework and my app target. but it did't worked.
Thank you very much. You can check the apple root certificate in the keychain and change the trust to the system default
I solve the issue after adding the framework in embeded SDK
I am developed a game with Unity3D and exported IOS build. Xcode build project succesfully but App crash on launch.
Firstly I got this error:
dyld: Library not loaded: #rpath/OneSignalXC8.framework/OneSignalXC8 Referenced from: /var/containers/Bundle/Application/xxxx
Reason: image not found
After this, I added OneSignalXC8 framework to embeded binaries and error changed.
dyld: Symbol not found: __TMaCs29_NativeDictionaryStorageOwner
Referenced from: /private/var/containers/Bundle/Application/xxxx.app/Frameworks/OneSignalXC8.framework/OneSignalXC8
Expected in: /private/var/containers/Bundle/Application/xxxx.app/Frameworks/libswiftCore.dylib
in /private/var/containers/Bundle/Application/xxxx.app/Frameworks/OneSignalXC8.framework/OneSignalXC8
After this error, I set "Always Embed Swift Standard Libraries" to "Yes". Like saying here: https://stackoverflow.com/a/43117611/793880
But still I got same last error. How can I solve this?
I am using Xcode 8.3.3
I am using Unity 5.6.1f1
Unity exporting Xcode Project not workspace
I am using Objective-C
Thanks
I deleted OneSignal folder from Unity project.
Download last released plugin package from https://github.com/OneSignal/OneSignal-Unity-SDK
Import Unity project and build.
Runnning successfully
When I try to run an UI and Unit tests, I get an exception:
dyld: could not load inserted library
'/private/var/containers/Bundle/Application//AutoTestingApp.app/Frameworks/IDEBundleInjection.framework/IDEBundleInjection'
because no suitable image found. Did find:
dyld: Library not loaded: #rpath/XCTest.framework/XCTest
App builds with success but fails when running a test.
I already tried:
reinstalling Xcode
checking a provisioning profiles and a certificates
What am I doing wrong?
For what it's worth, you might be able to avoid this issue by running your test on a simulator instead of the device. Also make sure you've set your profiles correctly: i.e. Xcode 7.0 XCTest dyld: could not load inserted library IDEBundleInjection