iOS-------记录真机调试步骤

真机调试已经有人写好了,这篇只是用户记录本电脑,遇到的错误,方便以后打包,毕竟刚学习iOS。哈哈哈。

操作参考文献:

       https://www.jianshu.com/p/8c99cb119bb3

 

问题1:

解决方法: 将下图中圈中的全部改为Apple Development,或者iOS Developer

 

问题二:Your development team, "陆 孟", does not support the Push Notifications capability.

解决方法:在iOS项目中全局搜索XXXX.entitlements文件。编辑器打开

如果真机调试就把上图位置注释,释放真机调试的注释部分。

 

问题3:

Failed to register bundle identifier.

The app identifier "xxxxxxxx" cannot be registered to your development team. Change your bundle identifier to a unique string to try again.

解决方法:

在箭头处随便加些字母或数字

 

最后来一个成功的图