Reputation: 1842
I'm trying to run application on my iOS 9 iPad with Xcode 7 and it gets stuck on "Validating application
".
Screenshot:
Upvotes: 14
Views: 7398
Reputation: 1253
I didn't want to restart Xcode (as I wanted to maintain my undo buffer), but found the following worked:
Upvotes: 1
Reputation: 2572
XCode 8.3, iOS10 here. Tried most solutions without much luck
X-Restart phone
X-Restart mac
X-Check WiFi (was connected to internet)
X-Unplug cable (tried both ends)
O-Plug cable into a different USB port
Hope that's an option for you!
Upvotes: 1
Reputation: 3334
I ran into the same issue with Xcode 8.3 and iOS 9 on the phone. Tried restarting Xcode, computer, the phone- none of them works.
Turns out, the phone was connected to a Wifi network without internet access. As soon as I connected the phone to another wifi with internet, the app installed fine.
The working theory is that the phone tries to do run validation against some remote Apple server, which fits the "Validating application" message. It's very unhelpful that it never times out or produce any meaningful error message, though.
Upvotes: 1
Reputation: 315
Disconnect and reconnect the data cable is worked for me. No need to reboot the iphone/ipad or Mac
Upvotes: 2
Reputation: 224
If you are not planning to release on AppStore and only creating an ad hoc build for testing, then do the following:
In Xcode 7, Goto Product -> Scheme -> Edit Scheme From the left menu select "Archive" and Select "Distribution" from the "Build Configuration" drop down.
Upvotes: 1
Reputation: 3514
I restarted mac, ipad, xcode multiple times, deleted derrived data and after many unsuccessfull tries, I was able to run my app on iPad.
Upvotes: 2
Reputation: 594
Reboot your mac and/or restart Xcode. Fixed it for me.
Upvotes: 16