开发者

Deleted the /Developer/Platforms/iPhoneOS.platform/DeviceSupport folder and now I can't test on my device

I deleted 开发者_Python百科the /Developer/Platforms/iPhoneOS.platform/DeviceSupport folder by mistake trying to fix an EXC_BAD_ACCESS error. The folder I was supposed to delete was: /Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.2.1 (8C148)/Symbols and of course Xcode didn't ask to collect symbols again. Xcode doesn't recognize my device any more, so I can't test on my device.

How can I restore the folder?


Download the same version of xCode/Developer Tools again, install it to /Developer-new or anything except /Developer. Then in Terminal run:

sudo cp -rv /Developer-new/Platforms/iPhoneOS.platform/DeviceSupport /Developer/Platforms/iPhoneOS.platform/DeviceSupport
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜