关于真机调试的问题,简单做下罗列


日志打印出现以下问题:

[App] if we're in the real pre-commit handler we can't actually add any new fences due to CA restriction

出现这个的原因是因为我Xcode版本低于真机版本导致的,不影响APP的运行的,但是这里还是要给予解决的办法 :⬇️

1⃣️:Click on your active scheme name right next to the Stop button

2⃣️:Click on Edit Scheme....

3⃣️:in Run (Debug) select the Arguments tab

4⃣️:in Environment Variables click +

5⃣️:add variable: OS_ACTIVITY_MODE = disable

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM