Xcode - Your development team, "", does not support the Push Notifications capability.


1.問題描述:

從git上checkout了別人的一個工程文件,選擇team時,Xcode顯示如下問題

Your development team, "xxx.xxx.xxx", does not support the Push Notifications capability.

 

最后解決方法如下:

1.找到工程文件中xxx.entitlements文件,在vim中打開
2.刪除.entitlements文件中的<key>aps-environment</key>,保存后重新運行,即可。

 

參考:

stackoverflow

 

 

 

 

2.若配置了開發環境,提示如下錯誤:

Signing for "XXX" requires a development team. Select a development team in the project editor.Code signing is required for product type 'Application' in SDK 'iOS 10.0'

解決方法:

targets –> general –> Signing –> Team (選擇你們公司的Team )

 

 

 

3、iPhone is busy: Preparing debugger support for iPhone?

解決方法:

Xocde—>Window menu—>Device and Simulators—>Device—>Button at bottom left corner—>Next—>Done或者退出xcode,重啟手機.

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM