Build Error : Xcode13.2.1 / iOS 12

I tried to build with an iOS 12 device in Xcode 13.2.1, and an error message appeared and a crash occurred. It started to occur from Xcode 13.2, and even when uploaded to TestFlight, the same error appears and the app crashes.

The error message is :

dyld: Library not loaded: /usr/lib/swift/libswiftCore.dylib

  Referenced from: /private/var/containers/Bundle/Application/1F7A398B-D30B-4F59-977B-97C2124736BD/appName.app/Frameworks/libswift_Concurrency.dylib

  Reason: image not found

It is necessary to check if it is an Xcode error, and if there is a solution, please share. Thank You.

This is a known issue with Xcode 13.2. From the release notes:

Apps that use Swift Concurrency and are built for operating systems prior to macOS 10.15, iOS 13, tvOS 13, or watchOS 6 fail to launch on those earlier operating systems. (86419499) (FB9807625)

There is no workaround.

Build Error : Xcode13.2.1 / iOS 12
 
 
Q