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試試
原文: