Xcode15 で iOS 13 以下のインストールクラッシュ修正#
Xcode15 で iOS 13 以下のインストールクラッシュ修正、参考Xcode15 + iOS13 クラッシュの解決方法、主に以下のいくつかを試してみてください。
build setting->other linker flags に - ld64 を追加
Cocoapods を使用する場合、-Wl,-ld_classic オプションを Pod プロジェクト設定の OTHER_LDFLAGS に追加する必要があります
iOS12 のクラッシュ、Asset Catalog Compiler の 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