Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can not launch the app on device

Tags:

xcode

ios

When i try to launch my application from Xcode to the device, i get this error:

error: failed to launch '/Users/Luca/Library/Developer/Xcode/DerivedData/myapp-bmsyknqfiyjuechenbmjnbfmpnsn/Build/Products/Debug-iphoneos/myapp.app/myapp' -- No such file or directory (/Users/Luca/Library/Developer/Xcode/DerivedData/myapp-bmsyknqfiyjuechenbmjnbfmpnsn/Build/Products/Debug-iphoneos/myapp.app/myapp)

I am using Xcode 4.3.2 and iOS 5.1 for my iPhone.

like image 479
Luca Avatar asked Jun 13 '12 08:06

Luca


People also ask

Why won't an app open on my phone?

Check for Android Updates The app might be too new for your current version of Android. Check if there are any pending system updates on your phone. Install them before trying to rerun the app. To see if you have any system updates waiting in the wings, drag the app-shade down and open the settings menu.

Why are my apps not working on my Android tablet?

Clearing the app cache, checking if the app is compatible with your device, rebooting your device, optimizing your device, uninstalling and reinstalling the app, and even checking for additional updates are all things that may help.


1 Answers

  1. Disconnect your device.
  2. Delete the app from your device.
  3. Quit Xcode completely.
  4. Go to ~/Library/Developer/Xcode/DerivedData and look at the folders there ($ ls).
  5. Find the one with the app's name in front of it and delete the folder ($ rm -rf ).
  6. Reopen Xcode.
  7. Connect your device.
  8. Build and Run the app (cmd + R).
  9. Boom.
like image 109
Jeff Grimes Avatar answered Oct 07 '22 00:10

Jeff Grimes