Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode 4.3.2 error when run app on iPhone 4s

Tags:

xcode

ios

iphone

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?

like image 747
zhan qi Avatar asked Dec 12 '22 03:12

zhan qi


1 Answers

First clear your DerivedData (/Library/Developer/Xcode/DerivedData/) delete every thing from there.

Now restart your XCode, Restart your device.

This might work.

like image 74
Nilesh Avatar answered Dec 29 '22 21:12

Nilesh