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.

Crashes without CoreFoundation.framework in iOS8

See original GitHub issue

After installing this module, the app compiles fine but crashes instantly using the iOS 8.2 simulator (anything less than iOS9, I believe, and before loading RN) unless CoreFoundation.framework is linked with Optional status. Due to an unhelpful error message, it took a lengthy git bisect to track down sometime after the fact, so it seems—unless this is symptomatic of some other issue—that CoreFoundation.framework (Status: Optional) could perhaps be included in the installation instructions. Unless, of course, there’s a more effective/correct solution.

Error message:

dyld: Symbol not found: ___NSArray0__
  Referenced from: /Users/rreusser/Library/Developer/CoreSimulator/Devices/.../data/Containers/Bundle/Application/.../MyApp.app/MyApp
  Expected in: /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 8.2.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
 in /Users/rreusser/Library/Developer/CoreSimulator/Devices/.../data/Containers/Bundle/Application/.../MyApp.app/MyApp

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
nicinaboxcommented, Apr 21, 2016

Just ran into this issue. Had to add CoreFoundation.framework (Optional) and Reset my simulator. After that it compiled successfully 👍

0reactions
jasan-scommented, Apr 27, 2017

The simulator crashes still without core Foundation framework in ios 10.3.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Help with find the Crash from this… | Apple Developer Forums
You need to open that crash log in Xcode so it gets symbolicated. Then the section “Last Exception Backtrace” will contain the stack...
Read more >
Xcode 7 Beta 6, dyld ___NSArray0__ crash - Stack Overflow
This as a problem on iOS8 build with the new XCODE release, Please remove CoreFoundation.framework and Add it again with Status of "...
Read more >
Admob Banner Ad Crash on iOS 8 using Admob 7.4.1
If I disable Admob banner ads, no crashes. If I enable the Admob banner ad, the crashes return. If I background the game,...
Read more >
Async Await crash on iOS14 with Xcode 13.2.1 - #14 by tera
The crash does not occur when I am running the code through Xcode but ... /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation ...
Read more >
App crashes on ios 8 + appium 1.3.3 on a real device - Support
App crashes on ios 8 + appium 1.3.3 on a real device ... arm64 /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
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