如今模拟器功能越来越强大,所以很长时间都未使用真机运行,今天一用真机运行,果然掉抗里了。
通过google搜索了一下,解决的方案很多,如下所示:

1 Clean 重启
2 修改BitCode检测

3 Build Active Architecture Only设置

4 删除DerivedData文件夹
打开xcode找到Products文件夹 -> Products文件夹里的.app文件,show in Finder 选择三栏显示模式 -> 往前滑找到DerivedData文件夹, 删除 。
5 Custom Compiler Flags
在Building Seting -> 中 -> Custom Compiler Flags加 -> -fembed-bitcode

网友评论