Hi everyone. We just launched a new cross-platform Flutter app and we are getting crashes on startup on iOS 16 and 17 despite all of our dependencies claiming to support iOS 15 and higher.
The crash on iOS 16 is:
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Termination Reason: Namespace DYLD, Code 4, Symbol missing
Symbol not found: _$sSa034_makeUniqueAndReserveCapacityIfNotB0yyFyXl_Ts5
Referenced from: /Users/USER/Library/Developer/CoreSimulator/Devices/D68BD3AC-AC35-4B4D-A9CE-EDCD1F67DC61/data/Containers/Bundle/Application/3A28B685-D4C2-4578-9DF8-0EC61FEDA0E2/Runner.app/Runner.debug.dylib
Expected in: /Volumes/VOLUME/*/libswiftCore.dylib
(terminated at launch; ignore backtrace)
and iOS 17:
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Termination Reason: Namespace DYLD, Code 4, Symbol missing
Symbol not found: _$sScS8IteratorV4next9isolationxSgScA_pSgYi_tYaF
Referenced from: <2A546003-95CC-3458-8FD3-9E6BACA523EC> /Users/USER/Library/Developer/CoreSimulator/Devices/791F8EA9-D388-402A-BC22-50380EC43461/data/Containers/Bundle/Application/201564C8-9007-4639-BCD5-372438CE977F/Runner.app/Runner.debug.dylib
Expected in: <5CB10E98-4D78-327E-AA62-6CC99130275A> /Volumes/VOLUME/*/libswift_Concurrency.dylib
(terminated at launch; ignore backtrace)
This appears to be the same problem discussed in this thread which points to a bug in the Swift compiler or libraries, though it was apparently fixed in Xcode 26 beta 7. Our app is built with Xcode 26.4 (17E192) and these problems still occur.
I am no Swift expert. Can anyone provide guidance on resolving this issue so we can support the widest range of iOS version possible?
Thank you!