Library not loaded: #rpath/GoogleToolboxForMac.framework/GoogleToolboxForMac - ios

I try the answers in StackOverFlow to fix my problem. But no one works for me.
I run my app and build successful everytime, but sometimes crash to print the crash log and sometimes launch my app successfully.
I don't know why to make two of situation.
Crash Log:
dyld: Library not loaded: #rpath/GoogleToolboxForMac.framework/GoogleToolboxForMac
Referenced from: /Users/XXX/Library/Developer/CoreSimulator/Devices/8FB6E110-F30F-425D-9011-A196E78BE7CB/data/Containers/Bundle/Application/3C10C9A5-9012-4444-B7CF-D0615DED602A/XXXXXXXXXXXXX.app/XXXXXXXXXXXXX
Reason: image not found
This is my Linked Frameworks and Libraries, and why my GoogleToolboxForMac.framework turns light gray color.
I also try pod install again, and not work.
How to fix my crash problem?

Related

No such module 'AppInvokeSDK'

Paytm All-in-one SDK integrated successfully and working fine in simulator but when I am trying to run in real device, its giving me an error that No such module 'AppInvokeSDK'
Cannot run in real device (iPhone 8)
Following error getting in log:
dyld: Library not loaded: #rpath/AppInvokeSDK.framework/AppInvokeSDK
Referenced from: /private/var/containers/Bundle/Application/840EAA6B-AB7E-4712-B77F-B6E625E899D2/app.app/app
Reason: image not found
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
here is the screenshot:
I got to know later, By mistake I put framework in somewhere else. Actual place for external framework is inside the "Framework" folder in Xcode.

My react-native app launches fine in Debug mode, but when built Release, crashes on launch

If anyone could help I'd very much appreciate it.
I'm creating a react-native app, when the app launches in Debug mode it works just fine, when I launch it in Release mode, it builds, but when launched, crashes immediately.
There are no crash reports, I can get the log from my device, but it isn't very informative. It just seems to die during bootstrapping.
Has anyone else experienced issues like this before and/or have any insight?
I've tried
a) clearing caches
b) reinstalling node_modules/Pods
c) updating libraries
d) changing my Provisioning Profile
e) comparing to a blank react native app and going file by file to see if anything I had would break it
Here's the limited stack trace I was able to get from the simulator:
Thank you!
Update!
I've got a crash report!
Dyld Error Message:
dyld: No shared cache present
Library not loaded: #rpath/libswiftCore.dylib
Referenced from: /Users/USER/Library/Developer/CoreSimulator/Devices/[id]/data/Containers/Bundle/Application/[id]/[bundle]/[app]
Reason: image not found
Another update for anyone who ever finds this:
I didn't figure out how to resolve this issue. I ended up creating a new blank react application using a template, then one by one moved my modified code back over. It's all working now. I'll leave this open if anyone has any insight on what was initially going wrong.
First of all, you try to open multiple time after sometime later you will get a popup report then view the error, Hope it will help you.

Firebase app crash. because image not found

I have a firebase based app that works fine when build in xcode and installed in device but when i upload it to app store for beta testing purpose it crashes on launch.
The error log is :
dyld: Library not loaded:
#rpath/GTMSessionFetcher.framework/GTMSessionFetcher
Reason: image not found
I have not designed any framework for the app.
I have been to all the other solutions and discussions in forum but nothing is resolving the matter.
has anyone else ever faced this?

dyld: Library not loaded: Reason: image not found

I know there is plenty of topics on this issue, to be honest, I think I have read all of them in the past 3 days, but none of them help me to solve my issue.
I have to build an iOS app implementing a custom framework, build by my own.
When I want to run my app on a real device, here is what I get (XXX is replaced for confidentiality of course) :
dyld: Library not loaded: #rpath/libswiftCore.dylib
Referenced from: /private/var/containers/Bundle/Application/0FCB15D6-B961-47A6-96A1-2CA896634277/XXX.app/Frameworks/XXX.framework/XXX
Reason: image not found
Following all topics, I tried to put the framework in the embedded binaries and stuff, but nothing worked...
If someone has another idea...I'll take it !
I finally found a solution.
The framework was build with an older version of xCode (8.2), so I downgraded my project in xCode 8.2, and the issue vanished...not sure this is the best way to resolve it, but it works.

Why Pods.framework has to be optional? And why does that work?

I have a project mainly in Swift that has dependencies managed by CocoaPods. At a given point in time I decided to change Pods.framework link status to required, instead of optional.
Running with this configuration works fine on the simulator, but if I try to run it on the iPhone, I get the following crash at the startup:
dyld: Library not loaded: #rpath/Pods.framework/Pods
Referenced from: /private/var/mobile/Containers/Bundle/Application/...
Reason: image not found
Now if I just change it back to optional, it works fine. I have found this solution on Github. But I still don't get it, even after reading Apple's documentation.
Why does it work like this?

Resources