开发者

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

开发者 https://www.devze.com 2023-03-27 16:18 出处:网络
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/Platform

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

精彩评论

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

关注公众号