Search code examples
xcodexcode6xcode7

Xcode Project won't run on iOS Device


Xcode gives me this message every-time I try running my app on my iPhone. (Works fine on the simulator.) (And this occurs in every project I have.) (I also just downloaded Xcode again.)

This is the message I get.

App Installation Failed.
Unknown Error Occurred.

How do I fix this error?


Solution

  • Alright, it was a simple fix:

    1. Go into Xcode Preferences -> Accounts -> More Info. Hit the refresh icon.

    2. Clean your project. Project -> Clean.

    3. Force quit Xcode.

    4. Reboot Mac and Device.