NO_CRASH_STACK error on launch

After our update for Xcode 15, we got a notable increase in crashes on our React Native apps on the app launch.

The logs said it's a NO_CRASH_STACK (logs attached). And it's weirdly happening mostly on iOS 16 only (we're just assuming in this part)

Notes that we are using Sentry for our crash reporter, but since this crash happened at the beginning, we believe the Sentry hasn't even finished initialized yet. So we don't get any data out of it.

Consider this snippet from your first crash report:

Termination Reason: DYLD 4 Symbol missing
Symbol not found: _$s7Network11NWInterfaceV13InterfaceTypeO13wiredEthernetyA2EmFWC
Referenced from: <C2DB696D-1497-3B07-85FD-3329E68E6C3D> /Volumes/VOLUME/*/AppName.app/AppName
Expected in:     <EF1A283D-892F-3DF2-953A-5F9C29486372> /System/Library/Frameworks/Network.framework/Network
(terminated at launch; ignore backtrace)

And now this:

% swift demangle '_$s7Network11NWInterfaceV13InterfaceTypeO13wiredEthernetyA2EmFWC'
… enum case for Network.NWInterface.InterfaceType.wiredEthernet(Network.NWInterface.InterfaceType.Type) -> Network.NWInterface.InterfaceType

Your app is crashing because it’s trying to link to a Network framework symbol that’s not present. The last time I saw an error like this it was because of a deployment target problem, that is, either:

  • The app’s deployment target was less than the minimum deployment target supported by that version of Xcode.

  • The app’s deployment target was greater than the OS version it was run on.

Please check those.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

NO_CRASH_STACK error on launch
 
 
Q