1.运行报错找不到文件libarclite_iphoneos.a
SDK does not contain 'libarclite' at the path '/Applications/Xcode15.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphoneos.a'; try increasing the minimum deployment target
解决方法:
从Xcode14安装目录下/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/ 中拷贝libarclite_iphoneos.a文件到Xcode15的安装目录下:/Applications/Xcode15.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/ (没有arc文件夹就自己创建一个)
2.运行iOS16系统以下手机闪退报野指针报错
Thread 1: EXC_BAD_ACCESS (code=1, address=0xb4000)
解决方法:
在Build Settings中的Other Linker Flags中添加-ld64可解决
网友评论