vmware虚拟机安装XCode进行iPhone真机调试

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/forgot2015/article/details/56054930

1、vmware安装黑苹果,然后在appStore安装XCode
http://blog.csdn.net/forgot2015/article/details/51104329

2、真机调试证书等申请
http://jingyan.baidu.com/article/ff411625b8141312e48237a7.html?qq-pf-to=pcqq.c2c

3、vmware识别真机,关机然后设置vm的usb识别为usb2.0,重新打开mac虚拟机 即可识别到iphone,此时就能连接真机调试了
http://jingyan.baidu.com/article/f0e83a25877bcf22e59101ab.html

4、问题:
1.提示Development cannot be enabled while your device is locked.Please unlock your device and reattach.
已经解锁了手机。还是会一直报这个错。
2.Xcode真机调试出现“ XXX is busy: Processing symbol files”

以上问题解决方法:
1、尝试重新拔插测试设备。
2、如果“1”不起作用,重启Xcode尝试。
3、如果“2”不起作用,重启手机,然后尝试。

5、提示Processing Symbol Files
等待进度条下载debug文件

6、Signing for requires a development team. Select a development team in the project editor.
在xcode的perference中添加一个证书的开发者帐号
http://www.liuchuo.net/archives/284

7、 “项目名 ” is automatically signed for development, but a conflicting code signing identity iPhone Distribution has been manually specified. Set the code signing identity value to “iPhone Developer” in the build settings editor, or switch to manual signing in the project editor.

解决:在general的Signing中,取消勾选Automatically…试试,然后选择Team 开发者队伍,而不是选择个人Team

8、dyld: Library not loaded: @rpath/libswiftCore.dylib 错误的解决
先在build settings-Build Options下 选项Always Embed Swift Code 选yes
然后clean project,重启xcode试试

阅读更多
换一批

没有更多推荐了,返回首页