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}")"