xcode14打出来的ipa包,在iOS12以下的系统发生崩溃

今日由于升级的Xcode14,导致在一些低的ISO系统版本下运行不起来。细查之下才发现

dyld: Library not loaded: /usr/lib/swift/libswiftCoreGraphics.dylibReferenced from: /var/containers/Bundle/Application/24043C4D-3FCF-431B-88C6-C10324272C25Reason: image not foundMessage from debugger: Terminated due to signal 6

解决方法:Build Phases -> Link Binary With Librarires 里面添加libswiftCoreGraphics.tbd

你可能感兴趣的:(xcode14打出来的ipa包,在iOS12以下的系统发生崩溃)