2

I'm getting a weird bug on Xcode 4.5. When i tried to run my application on Ipad 2 from xcode with iOS 6, I'm getting this error.

Error

I done the following methods to run the application, but no luck.

  1. Cleaned the project and run
  2. Restarted the device
  3. Restarted xcode

I have a valid certificate in my machine and the application is installing on the device but it's not launching automatically. What could be the issue ?

Thanks in advance

Midhun MP
  • 103,496
  • 31
  • 153
  • 200
  • 1
    By any chance have you set your Build Configuration to Distribution / Release. Setting Build Config to Debug fixed this issue for me... – Roshit Nov 14 '12 at 06:26
  • possible duplicate of [Xcode suddenly stopped running project on hardware: "Could not launch xxx.app: .. No such file.."](http://stackoverflow.com/questions/11456312/xcode-suddenly-stopped-running-project-on-hardware-could-not-launch-xxx-app) – eonil Dec 04 '12 at 03:54

1 Answers1

4

That is really annoying. This error happens in a number of different situations. Sometimes restarting the Xcode, fixes the problem. If not, follow these steps:

Disconnect your device.

Delete the app from your device.

Quit Xcode (Do not just simply close the window, quit it)

Delete derived data folder (~/Library/Developer/Xcode/DerivedData/-gbrvhlvwmpiobxdujegtghggrffp - or something like that)

Now start Xcode once again, connect device and run the project. It should work fine.

from DhilipSiva blog

dhilipsiva
  • 3,688
  • 1
  • 24
  • 35
Omarj
  • 1,151
  • 2
  • 16
  • 43