Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

An Unknown Error occurred in Xcode

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

like image 470
user3728320 Avatar asked Jul 05 '14 23:07

user3728320


2 Answers

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

like image 59
jungledev Avatar answered Oct 27 '22 07:10

jungledev


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.

like image 38
Gourav Joshi Avatar answered Oct 27 '22 05:10

Gourav Joshi