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