Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS: Failed to launch .app file

I don't know why it is looking for directory inside my .app file. Every time I run application it installs the App on iPhone but doesn't run and gives below error. Could anyone please tell me where's this settings stored? Thanks.

error: failed to launch '/Users/xxx/Library/Developer/Xcode/DerivedData/MyApp- ccbvvzjjzvwuerchrpulknxtenoq/Build/Products/Debug-iphoneos/MyApp.app/MyApp' -- No such file or directory (/Users/xxx/Library/Developer/Xcode/DerivedData/MyApp-ccbvvzjjzvwuerchrpulknxtenoq/Build/Products/Debug-iphoneos/MyApp.app/MyApp)
like image 574
AlienMonkeyCoder Avatar asked May 31 '12 11:05

AlienMonkeyCoder


People also ask

Can you run .app files on iPhone?

drag the app file into iTunes and then select your device in the iTunes . After that you can find the apps tab on the iTunes. Then you will see the dragged app file . CLick on the install and sync your phone .

Can't Launch iPhone has denied the launch request?

Remove your connected iPhone, iPad from the mac. Restart your device. Select "Automatically manage signing" in Xcode settings. Reconnect your iPhone, iPad.

How do you fix an app that wont open on iPhone 11?

Try and Force Restart your iPhone EXACTLY as shown below and see whether that resolves the issue: Press and quickly release Volume UP button. Press and quickly release Volume DOWN button. Press and Hold the SIDE button until an Apple logo appears and then release the Side button (Can take up to 20 seconds.


1 Answers

Try with:
1 - remove the app from the iPhone.
2 - remove the contents of the DerivedData folder.
3 - Clean & Build the project, restart Xcode, and reboot your device.

EDIT:
Now for the step 2 in Xcode 5 you can delete the derived data from the Organizer, just select the Projects tab, select you project and click the "Delete…" button on the right.

like image 61
Mat Avatar answered Oct 05 '22 23:10

Mat