question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[iOS] Crash on app launch by "dyld: Library not loaded"

See original GitHub issue

Overview (Required)

  • [iOS] Crash on app launch by “dyld: Library not loaded”.

Steps To Reproduce

  1. Modify the xode project Signing settings.
    • Tream: my Personal Team account.
    • Bundle Identifier: nukka123.io.github.droidkaigi.confsched2020.DroidKaigi-2020
  2. Build and Run to real iPhone device.
  3. Crash on app launch by “dyld: Library not loaded”.

Expected behavior

Launch without crash.

Env:

  • Device: iPhone11 pro
  • OS: iOS 13.3.1
  • Xcode: 13.1.1
  • master branch, 369fcd9a63cf573b1e603df70f10b6a0a942711a

Log

dyld: Library not loaded: @rpath/MDFInternationalization.framework/MDFInternationalization
  Referenced from: /private/var/containers/Bundle/Application/3536DB72-9CBD-4A1D-82A2-43DA43246E87/DroidKaigi 2020.app/DroidKaigi 2020
  Reason: no suitable image found.  Did find:
	/private/var/containers/Bundle/Application/3536DB72-9CBD-4A1D-82A2-43DA43246E87/DroidKaigi 2020.app/Frameworks/MDFInternationalization.framework/MDFInternationalization: code signature invalid for '/private/var/containers/Bundle/Application/3536DB72-9CBD-4A1D-82A2-43DA43246E87/DroidKaigi 2020.app/Frameworks/MDFInternationalization.framework/MDFInternationalization'

	/private/var/containers/Bundle/Application/3536DB72-9CBD-4A1D-82A2-43DA43246E87/DroidKaigi 2020.app/Frameworks/MDFInternationalization.framework/MDFInternationalization: code signature invalid for '/private/var/containers/Bundle/Application/3536DB72-9CBD-4A1D-82A2-43DA43246E87/DroidKaigi 2020.app/Frameworks/MDFInternationalization.framework/MDFInternationalization'

	/private/var/containers/Bundle/Application/3536DB72-9CBD-4A1D-82A2-43DA43246E87/DroidKaigi 2020.app/Frameworks/MDFInternationalization.framework/MDFInternationalization: stat() failed with errno=1
	/private/var/containers/Bundle/Application/3536DB72-9CBD-4A1D-82A2-43DA43246E87/DroidKaigi 2020.app/Frameworks/MDFInternationalization.framework/MDFInternationalization: code signature invalid for '/private/var/containers/Bundle/Application/3536DB72-9CBD-4A1D-82A2-43DA43246E87/DroidKaigi 2020.app/Frameworks/MDFInternationalization.framework/MDFInternationalization'

	/private/var/containers/Bundle/Application/3536DB72-9CBD-4A1D-82A2-43DA43246E87/DroidKaigi 2020.app/Frameworks/MDFInternationalization.framework/MDFInternationalization: stat() failed with errno=1

Similar (same?) issues

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:1
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
nukka123commented, Feb 7, 2020

このコメントによれば、iOS 13.3.1 の問題のようです。(あるいはXcode?)

This is an issue with iOS 13.3.1 on a real device, not the simulator. This should not impact apps that are already distributed to the App Store (meaning: your customers are not hitting this crash). … You can: Use a non-Personal Team provisioning profile. Run on the 13.3.1 simulator. Test on a real iOS device running 13.3 or lower.

1reaction
nukka123commented, Feb 7, 2020

@ry-itto I’ve tried again with complete clean the Derived Data directory. But it could not to resolve… 😢

Read more comments on GitHub >

github_iconTop Results From Across the Web

App crash "Library not loaded:" iO… | Apple Developer Forums
I want my app to support iOS 8 and 9. I updated my app to use Swift 2 and added spotlight indexing for...
Read more >
dyld: Library not loaded: /usr/lib/swift/libswiftCoreGraphics ...
When I upgrade my Xcode to 14, my app crashed and Get an error message: dyld: Library not loaded ...
Read more >
[IOS] App Crash "dyld" error Library not loaded / upstream ...
Bug Report. Hello guys. After adding all the staff im trying to launch my application, then it build successfully, and then immediately ...
Read more >
XCode error "dyld: Library not loaded" - Wikitude
ok I found the issue. Somehow my provisioning profiles were not downloaded from my enterprise account in XCode and that was crashing the...
Read more >
iTunes crash logs with "dyld message: Library not loaded..."
The issue is caused by apps using too many (third party) Frameworks. So you can either remove Frameworks (by for example copying third...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found