Xcode Crash IOS APP : dyld: Library not loaded, Reason: image not found - ios

I have Integrated a Framework in Xcode (custom framework). After launching application it is crashing with above error.
What I have tried so far is:
Added framework in Embedded Binaries Section in General tab.
"Always embed swift standard Libraries" Flag to true.
Error Message :
dyld: Library not loaded: #rpath/libclang_rt.asan_ios_dynamic.dylib
Referenced from: /private/var/containers/Bundle/Application/F4839C88-8BF0-4E90-8B24-C71F3A008FCC/wificonfig.app/Frameworks/MedallionNet.framework/MedallionNet
Reason: image not found**

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.

dyld: Library not loaded zendesk

On adding Zendesk to a project in my app, the app compiles fine, but on launching it, the app crashes with the following error:
dyld: Library not loaded: #rpath/ZendeskCoreSDK.framework/ZendeskCoreSDK
Referenced from: /var/containers/Bundle/Application/54F97442-93B5-469E-A069-5F91C4689249/App.app/App
Reason: image not found
I am quite sure I have followed all the instructions, but this just refuses to work
:)
In your project, goto build phases and the embedded frameworks section, find the 3 Zendesk frameworks in the file list and drag them into this section.
it will work now. :)

Xcode error: dyld: Library not loaded

I am using the PhotoEditorSDK and I am getting an error in Xcode 9.0:
dyld: Library not loaded: #rpath/libswiftAVFoundation.dylib
Referenced from: /Users/.../PhotoEditorSDK.framework/PhotoEditorSDK
Reason: image not found
It showed up only when I updated the new Xcode, also I have tried all the stuff for clearing cache, derived data, setting the always embed swift libraries to true, but nothing works.
Installing the new version of the framework fixed the issue.

dyld: Library not loaded: #rpath/libswiftCore.dylib doesn't get solved by editting runpaths and Embedded Content Contains Swift Code

okay this websites have bunch of questions about the problem same as the title I post a new one cuz there's no post which help me..
I coded the whole project in xcode 7.3. And I'm trying to run it in both iOS 9.3.5 and 10.0.2.
Both prompted the error message below and it has been solved in 10.0.2, by downloading a certificate in https://www.apple.com/certificateauthority/ as advised in dyld: Library not loaded: #rpath/libswiftCore.dylib. But 9.3.5 still doesn't work.
dyld: Library not loaded: #rpath/libswiftCore.dylib
Referenced from: /var/containers/Bundle/Application/69EF41F7-6DEA-49DC-A330-2356895A3267/이모저모.app/이모저모
Reason: no suitable image found. Did find:
/private/var/containers/Bundle/Application/69EF41F7-6DEA-49DC-A330-2356895A3267/이모저모.app/Frameworks/libswiftCore.dylib: code signature invalid for '/private/var/containers/Bundle/Application/69EF41F7-6DEA-49DC-A330-2356895A3267/이모저모.app/Frameworks/libswiftCore.dylib'
/private/var/containers/Bundle/Application/69EF41F7-6DEA-49DC-A330-2356895A3267/이모저모.app/Frameworks/libswiftCore.dylib: code signature invalid for '/private/var/containers/Bundle/Application/69EF41F7-6DEA-49DC-A330-2356895A3267/이모저모.app/Frameworks/libswiftCore.dylib'
/private/var/containers/Bundle/Application/69EF41F7-6DEA-49DC-A330-2356895A3267/이모저모.app/Frameworks/libswiftCore.dylib: code signature invalid for '/private/var/containers/Bundle/Application/69EF41F7-6DEA-49DC-A330-2356895A3267/이모저모.app/Frameworks/libswiftCore.dylib'
What I first referenced is dyld: Library not loaded: #rpath/libswift_stdlib_core.dylib. I set Runpath search paths as #executable_path/frameworks. In Xcode 8.0 there is no Embedded Content Contains Swift Code so I just added #executable_path/Frameworks and it was ok, but in 7.3 it still doesn't work.
Any idea? None of the questions with the same topic does not help.

Adding 3rd party libraries in CLI app - Swift

I have a CLI app made in swift through Xcode 7.3 beta 2 and Swift 2.2. I'm trying to add a library in my app called OAuthSwift by manually copying it and adding it in my target.
Trying to run the app, I keep on getting this error:
dyld: Library not loaded: #rpath/libswiftAppKit.dylib
Referenced from: /Users/username/Library/Developer/Xcode/DerivedData/Vapor-bxotywnuvdhyupfqfmhdgtykiqlj/Build/Products/Debug/OAuthSwift.framework/Versions/A/OAuthSwift
Reason: image not found
Would any of you know how to get around this?

Resources