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)
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 .
Remove your connected iPhone, iPad from the mac. Restart your device. Select "Automatically manage signing" in Xcode settings. Reconnect your iPhone, iPad.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With