An Unknown Error occurred in Xcode

10,024

Solution 1

I found one approach:

Before this approach make sure that you have all certificates and other documentation updated.

I have faced same issue, now I have a way to fix this. I am using iPhone 5 with OS version 9.1

First, delete the app from your device and then restart the xcode by force quit and then again open it. Now clean your project and run the project in your device. Now it will be run without any issue.

Solution 2

Close your simulator or unplug and plug back in your device, and re-select the device target.

Solution 3

In my case . I cleaned the product and rebuild it and it worked.

Share:
10,024
user3728320
Author by

user3728320

Updated on June 15, 2022

Comments

  • user3728320
    user3728320 almost 2 years

    I'm trying to test out my app on my ipad and when I decide to run it on my ipad, Xcode says that it's successfully built. On the top, it says that it's runnning the app, but nothing happens for 2-3 minutes. Finally, I get two screens popping up saying "An unknown error occurred." I have tried running other apps through Xcode on my ipad and they work fine. I also decided to exit Xcode and restart everything, but the problem still exists. Does anyone know what the problem is?

    Not sure if this will be useful but Xcode Version: 5.1.1 Ipad Version: 7.0.4 Mac OS X 10.9