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,重启手机.

 

posted @ 2019-01-07 10:16  公羽寒  阅读(6995)  评论(0编辑  收藏  举报