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>,保存后重新運行,即可。
參考:
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,重啟手機.