I'm having this crash when running on a simulator where the os cannot find the carthage frameworks
dyld: Library not loaded: #rpath/Alamofire.framework/
I see Alamodfire issue but, closed.
my xcode settings
How do app running?
source code: konojunya/github-repository-search
Related
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.
My Xcode project is running fine in the simulator, but when I try to run it in the device its crashing and showing the following error in console.
dyld: Library not loaded: #rpath/Alamofire.framework/Alamofire
Referenced from: /private/var/co....................
Reason: no suitable image found. Did find:
/private/var/containers/Bundle/Application/348225A0-
I tried with a sample project without cocoa pods, then it's running in iPhone but when installing cocoa pods then it's making the problem again.
my pod file
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 use Xcode 8.1 and after adding CocoaPods and Objective-C files to my workspace I can't run app on my device. This is error from console:
dyld: Library not loaded: #rpath/libswiftCore.dylib
Referenced from: /var/containers/Bundle/Application/EAB92875-7A43-4DA0-8CB8-1C95A3AAF8EE/See My Progress.app/See My Progress
Reason: no suitable image found. Did find:
/private/var/containers/Bundle/Application/EAB92875-7A43-4DA0-8CB8-1C95A3AAF8EE/See My Progress.app/Frameworks/libswiftCore.dylib: code signing blocked mmap() of '/private/var/containers/Bundle/Application/EAB92875-7A43-4DA0-8CB8-1C95A3AAF8EE/See My Progress.app/Frameworks/libswiftCore.dylib'
I have tried recreating signing certificate, enabling/disabling Always Embed Swift Standard Libraries, clearing and reinstalling Xcode. Nothing helped
i included pods in my swift project and its not running on device
my device is running iOS 9.2
I'm getting this error :
dyld: Library not loaded: #rpath/PeerTalk.framework/PeerTalk
Referenced from: /var/mobile/Containers/Bundle/Application/CE466B0F-957F-484A-968F-30E6F117879B/SmartHome.app/SmartHome
Reason: image not found
i tried changing Linked Frameworks And Libraries Pods.framework to optional but it didn't worked for me
this happens with every pod i add