根据网上教程设置
https://blog.csdn.net/foreverling_ling/article/details/56671458
在我设置的过程中出现的一些小问题(通过网上的一些教程解决的):
1.Failed to create provisioning profile. The app ID "..." cannot be registered to your development team...
解决方法:新建一个project 将team改成苹果ID中的team 然后进入它的General页面,将它的Boundle Identifier复制出来,贴到Boundle Identifier中就行了
2.This iPhone 6 is running iOS 11.4 (15F79), which may not be supported by this version of Xcode.
解决方法:上网搜索对应的iOS真机测试文件 然后将对应的文件复制粘贴在
Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport 路径下即可。
百度云盘资源(含11.0 11.1 11.2 11.3 11.4 ):链接:https://pan.baidu.com/s/1U8PX6PLK1U5KWaTYVo4a9w 密码:xy2v
3.iPhone is busy:Preparing debugger support for iPhone
解决方法:重启Xcode和iphone