Xcode15打包导致:App Store/TestFlight,iOS 13以下安装崩溃问题处理。
1、项目 -> Build Settings -> ALL -> Other Linker Flags添加:-ld64。
2、若使用 Cocoapods,选择Pod项目,在Build Settings -> ALL -> Other Linker Flags里面添加: -Wl、-ld_classic。
3、iOS12崩溃,Build Settings -> ALL -> Generate Swift Asset Symbol Framework Support,删除SwiftUI。
其中CocoaPods添加方法如下:
need_otherlinkerflags_frameworks = ['XXX'] post_install do |installer| installer.pods_project.targets.each do |target| target.build_configurations.each do |config| config.build_settings['CODE_SIGN_IDENTITY'] = '' if need_otherlinkerflags_frameworks.include?(target.name) config.build_settings['OTHER_LDFLAGS'] = '-Wl,-weak-lswiftCoreGraphics, -ld_classic' end end end end
标签:end,Xcode15,Settings,App,Build,TestFlight,Store From: https://www.cnblogs.com/strengthen/p/18121513