Sudden crash on launch from all TestFlight builds

We've been getting a crash on launch starting today from all processed builds from TestFlight.

An identical build we submitted the day before yesterday is crashing on launch too.

Specifically the issue is:

Exception Type: EXC_CRASH (SIGABRT)
Exception Note:
EXC_CORPSE_NOTIFY
Termination Reason: DYLD 1 Library missing
Library not loaded: @rpath/libswift_concurrency.dylib
"/usr/lib/libswift_Concurrency.dylib' (no such file)
(terminated at launch; ignore backtrace)
(no such file)

We're pretty concerned and after aggressive testing we don't think we're the root cause.

Answered by Apple Developer Support in 698119022

Thank you for reporting this issue. We are currently working to resolve this. In the meantime, a workaround can be found in the Xcode 13.2 Release Notes. (Bug number 86349088)

What about published apps? Our app is available from the app store. I installed it and it crashed instantly. So what should we do now? Should we resubmit with Xcode 13.2.1 or should we wait for Apple to resolve the issue? Any idea?

Thanks,

This is marked as resolved in Xcode 13.2.1, but still getting issue. I have disabled bitcode enabled to get rid of this issue until resolves.

Short answer - use Fastlane to distribute via Testflight. Long answer - We had an issue with the app on iOS 14.6. XCode Version 13.3 (13E113). When distributed via Fastlane to Firebase - the app works fine. Running the app from Xcode works fine too. But when we distributed via Testflight using Xcode - app crashes at launch. No crash logs. I tried including libswift_Concurrency.tbd, disabling bitcode etc. Nothing helped. Finally I tried fastlane and it works! So yeah I assume there is some bug in exporting from archive in Xcode.

Hi, I have the same symptoms: the app crashes immediately on all devices running iOS 14. I have tried everything recommended in this thread (disabling bitcode, adding libswift_Concurrency, adding "-Wl,-weak-lswift_Concurrency -Wl,-rpath,/usr/lib/swift" to "other linker flags"...) but it still crashes.

XCODE 13.4 STILL THE SAME PROBLEM! Adding "-Wl,-weak-lswift_Concurrency -Wl,-rpath,/usr/lib/swift"  DIDN'T WORK ONLY DISABLE BITCOD works but it's not a good solution.

What's going on?

Sudden crash on launch from all TestFlight builds
 
 
Q