Xcode 15.2 built app crashes during launch on iOS 16 but no issue with iOS 17

I have an iOS app using Flutter that runs fine on iOS 17 but crashes on iOS 16 with the following error. I did not have this issue with older version of Xcode.

I have attached the crashlog.

This is what I see in the Xcode debug window.

 dyld[557]: Symbol not found: _$s7Network11NWInterfaceV13InterfaceTypeO13wiredEthernetyA2EmFWC
  Referenced from: <0E8CEF1B-6257-3DBF-9E33-E80DDE7EAA93> /private/var/containers/Bundle/Application/71D50E27-D60B-474F-B4D1-CB8ACFFD556C/Runner.app/Runner
  Expected in:     <F9D5A7E3-1EFB-3879-B33F-FD16AB5E4AD5> /System/Library/Frameworks/Network.framework/Network

My Xcode version is Version Version 15.2 (15C500b)

Setting minimum deployments from 11.0 to 12.0 resolved this issue for me

Setting minimum deployments from 11.0 to 12.0 resolved this issue for me

Right. See this thread. In short:

  • Xcode 15’s minimum deployment target is iOS 12.

  • If you build for an unsupported deployment target, all bets are off.

Share and Enjoy

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

Xcode 15.2 built app crashes during launch on iOS 16 but no issue with iOS 17
 
 
Q