dyld: Library not loaded: #rpath with iOS13 // Cocoapod // Swift 5.0 - swift

I really can't find a way to solve my probleme.
To explain it quickly: I had an app that retrived data from Firebase with some Frameworks and this app worked fine. But recently, the app crash when I build it on my iPhone, but not on the Simulator. I updated cocoapods to see if it solve the probleme but no.
When I try running it on the device I get this error :
dyld: Library not loaded: #rpath/GTMSessionFetcher.framework/GTMSessionFetcher
Referenced from: /private/var/mobile/Containers/Bundle/Application/0F2C2461-A68B-4ABA-A604-B88E6E9D1BB1/AppName.app/AppName
Reason: image not found
I've tried different solutions, but none of them really worked. Please help me.

Related

Failed to install a project to a real device

Someone who solved this problem by emulating on an iPhone.
It is a project that a library was embedded and well I already gave it a lot of laps and all the Build Setting configurations, from the signature of the build functions are correctly I do not understand what may be happening I have xcode 12.0.1 I will thank you very much for a feetback,
este es mi error:
dyld: Symbol not found: _$s8DropDownAAC9DirectionO6bottomyA2DmFWC
Referenced from: /private/var/containers/Bundle/Application/0E7CFCF6-F3E3-422F-8EF9-BD721F6D0ADB/proyectodemo.app/Frameworks/FrameworkDemo.framework/FrameworkDemo
Expected in: /private/var/containers/Bundle/Application/0E7CFCF6-F3E3-422F-8EF9-BD721F6D0ADB/proyectodemo.app/Frameworks/DropDown.framework/DropDown
in /private/var/containers/Bundle/Application/0E7CFCF6-F3E3-422F-8EF9-BD721F6D0ADB/proyectodemo.app/Frameworks/FrameworkDemo.framework/FrameworkDemo
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
(lldb)

App crash - AuthenticationServices Library not loaded

I'm trying to use AppAuth-iOS dev-logout branch and I tested on simulator 10.3.1.
When I try to run the code I get this crash:
dyld: Library not loaded:
/System/Library/Frameworks/AuthenticationServices.framework/AuthenticationServices
Reason: image not found
AuthenticationServices only appeared in iOS 12.0+, so this may be the cause of the crash.
Link to github issue: https://github.com/openid/AppAuth-iOS/issues/350
Thanks for any hint!
You can mark the AuthenticationServices.framework as Optional in the Linked Frameworks and Libraries section. This solved the problem for me.
You can add the library/framework to the Embedded libraries and frameworks section. Also have a look at OS X Framework Library not loaded: 'Image not found'
Just in case anyone is as dumb as I am:
I was running a newer version of the Xcode Beta than my device's iOS version. Updating my device fixed this is

Xcode8 Issue with "GPRCClient.framework"

I am getting this error in Xcode when running on a real device and I could not find a solution. Running on simulator works fine.
dyld: Library not loaded: #rpath/GRPCClient.framework/GRPCClient Referenced from: /var/containers/Bundle/Application/87E018E3-6128-41B7-B285-417FAF97143D/vivisell.app/vivisell
Reason: image not found

Xcode doesn't run app on devices but simulator. dyld: Library not loaded, Reason: image not found

I am trying to run an open source project on my Xcode to my devices.
The app runs normally on simulator. But has fatal error when running on a device.
dyld: Library not loaded:
/Users/Kevinscience/cerbero/dist/ios_universal/lib/libspiceglue.0.dylib
Referenced from:
/var/mobile/Containers/Bundle/Application/317EAAE1-F492-44DE-B4BB-68B222E73C44/flexVDI.app/flexVDI
Reason: image not found (lldb)
Please help me to solve this problem.

SSHCore Framework can't run in iphone sdk

I have downloaded SSHCore source code which uses libssh2 library.
That code build successfully, but as i put that in my code and build it, it builds successfully but after running it gives me this error:
dyld: Library not loaded: #executable_path/../Frameworks/SSHCore.framework/Versions/A/SSHCore
Referenced from: /Users/mac04/Library/Application Support/iPhone Simulator/4.0/Applications/541D1C93-3E50-4932-841C-2D63F5F7FF10/SSH.app/SSH
Reason: image not found
If any one has used this then please help me to solve this issue.
Thanx in advance.
You can't run 3rd party frameworks on iOS.
Have you followed these instructions to turn it into a library that can be used on the iPhone?