10

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

4
  • Try deleting the app off your iPad. Commented Jul 5, 2014 at 23:06
  • Does running in the simulator work? Have you placed breakpoints in you app delegate to step through the launch process? Commented Jul 5, 2014 at 23:07
  • It works in the simulator. Commented Jul 5, 2014 at 23:41
  • 1
    Nevermind. Figured it out. Turns out my ipad lacked enough storage space. Commented Jul 5, 2014 at 23:45

4 Answers 4

15

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.

Sign up to request clarification or add additional context in comments.

1 Comment

Hi Gourav Joshi, regarding this review, you need to be more careful and test the changes in a Playground before approving them: you should have rejected the suggested edit.
8

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

Comments

1

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

Comments

0

Sometime is you forget to unlock your device.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.