[iOS开发]日常Bug整理

2020-08-07  本文已影响0人  沈枫_ShenF

整理开发中遇到的编译或运行错误:

  1. Set the provisioning profile value to "Automatic" in the build settings editor. or switch to manu

  2. Set the provisioning profile value to "Automatic" in the build settings editor. or switch to manu

  3. iOS打包时遇到的has one iOS Distribution certificate but its private key is not installed的问题

4.Undefined symbols for architecture arm64

5.Undefined symbols for architecture armv7

6.老项目维护会出现这种错误:library not found for -libstdc++.6.0.9

7.真机安装运行时,出现以下错误:


报错Details:



原因是:Targets的Tests的证书环境有误,需要设置对证书:



8.'Modifications to the layout engine must not be performed from a background thread after it has been accessed from the main thread.'

此崩溃原因:在子线程中更新了UI,如我在弱网情况下捕获到error,然后在当前线程(经打印看出是子线程)发射error,在控制器监听到error后弹窗提示,如果不回到主线程去弹窗就会崩溃:

上一篇下一篇

猜你喜欢

热点阅读