Reputation: 41
I just created a Tab-Based
Application template, then set the App ID
, build and run, and get the error below:
error: failed to launch '/Users/zhanqi/Library/Developer/Xcode/DerivedData/mytest-ggqepovwnaqjfidycsaekzocibxx/Build/Products/Debug-iphoneos/mytest.app/mytest' --
No such file or directory (/Users/zhanqi/Library/Developer/Xcode/DerivedData/mytest-ggqepovwnaqjfidycsaekzocibxx/Build/Products/Debug-iphoneos/mytest.app/mytest)
I have checked the path below and it does in fact exist. I have reinstalled Xcode three times, but it still doesn't work.
"/Users/zhanqi/Library/Developer/Xcode/DerivedData/mytest-ggqepovwnaqjfidycsaekzocibxx/Build/Products/Debug-iphoneos/mytest.app"
Can anyone please tell me how to solve this?
Upvotes: 4
Views: 3346
Reputation: 4248
I just had same problem with armv6 device. Finally I found that there was 'armv7' in 'Required device capabilities' in 'Info' tab under target settings - I removed that item from list and now it works.
Upvotes: 2
Reputation: 1543
First clear your DerivedData (/Library/Developer/Xcode/DerivedData/) delete every thing from there.
Now restart your XCode, Restart your device.
This might work.
Upvotes: 8
Reputation: 568
I had exactly the same problem, but with deploying to iPad. It was working on the iPad simulator, but not on the device.
Solved it by restarting Xcode.
Upvotes: 3