1.1.崩潰在_dyld_start蛔钙,如圖:
解決辦法:在other link flags添加-ld64
注意:該辦法只能解決運行真機,archive出來的包依然報錯閃退......
對于release包的閃退荠医,需要在Build Setting中Asset catalog Compiler中Generate Swift Asset Symbol Framework Support中去掉SwiftUI
2.打包報錯Command PhaseScriptExecution failed with a nonzero exit code
解決辦法:
找到Pods-xxxx-frameworks.sh文件吁脱,替換
source="$(readlink "${source}")"
為source="$(readlink -f "${source}")"