Error : The service is invalid
IphoneObjective CInstallationIphone Problem Overview
I am having some problem in installing my app on the iphone as I am constantly getting the following error message
> The service is invalid > > Please check your setup and try again > > (0XE8000022)
It was running perfectly well till yesterday but since yesterday I am having this problem.
Iphone Solutions
Solution 1 - Iphone
Xcode and the GDB connection is quite temperamental. The device and your Mac can become unsynchronised with each other. My checklist for this sort of thing:
- Restart Xcode.
- Delete the .app from your iOS device, do a Clean then Rebuild.
- Disconnect, reconnect device.
- Restart iOS device (90% of the time it fixes things)
- If all else fails, restart your Mac (unlikely but it did fix an issue once for me).
Solution 2 - Iphone
I have solved the problem... Only needed to restart the iphone...
Restarting the Xcode wont work in this case. So just restart your iPhone and everything will be fine.
EDIT:
If you have an iPhone 5 running iOS 6.0 and have installed the "iOS Updater" app, you will also have this message.
Finishing the update process to iOS 6.0.1 will resolve the problem.
Solution 3 - Iphone
If you have an iPhone 5 running iOS 6.0 and have installed the "iOS Updater" app, you will also have this message.
Finishing the update process to iOS 6.0.1 will resolve the problem.
Solution 4 - Iphone
This error also happens if the iPhone provisioning profile has expired.
Solution 5 - Iphone
It can be a couple of things, the first and inmediate thing I'd check is to see if your IPhone is currently Downloading or "Preparing Update..." whilst this is running you generally get the "Device is invalid (0xe8000084)" / Error MT1006.
This i found to be the most common thing. so try this first.
And if that fails: Restart your IPhone, and then if that fails restart your Mac/Xcode and do a clean then Rebuild and deploy..
Hope this helps
Solution 6 - Iphone
This error happens when you try to debug an application in your IPod/IPhone and the device is code-locked or executing another application.
Make sure you can see the menu with all the app icons on the device and try to run again.
Regards
Solution 7 - Iphone
If nothing works then check if your device os is compatible with your Xcode version.
Solution 8 - Iphone
I confirm that restarting your device solves the issue. But if your device is jailbroken with a Semi-tethered jailbreak you will loose it after a reboot.
To prevent this, do a ldrestart(soft reboot).
In order to perform it, download a terminal application from Cydia, then type:
su
Input your password when asked, the default password is "alpine".
Then type
ldrestart
Solution 9 - Iphone
Unplugged the device and connected again with Mac solved my issue. Did not need to clean, build or restart XCode. XCode 10.2.1, iOS 12.3.1 version.
Solution 10 - Iphone
First remove the app from iPhone before building the app from xcode. Then Clean All Targets from xcode and then try to build your app again.
Solution 11 - Iphone
SnowLeopard w/ XCode 4.2's Instruments will give this message on newer iOSes.
Solution 12 - Iphone
I had luck by disconnecting my iPhone from my mac, and then Analyzing (Shift + Command + B or Product -> Analyze).
After that I plugged my iPhone back in and did a clean (Command + k) and then run. Worked!
Solution 13 - Iphone
Simply restarting the device (as the alert suggests) fixed the problem, at least on iOS 12.