關於真機調試的問題,簡單做下羅列


日志打印出現以下問題:

[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