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

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试试

  • 2
    点赞
  • 9
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值