开发者

Error : The service is invalid

开发者 https://www.devze.com 2022-12-18 15:46 出处:网络
I am having some problem in installing my app on the iphone as I am constantly getting the following error message

I am having some problem in installing my app on the iphone as I am constantly getting the following error message

The s开发者_如何学Goervice 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.


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:

  1. Restart Xcode.
  2. Delete the .app from your iOS device, do a Clean then Rebuild.
  3. Disconnect, reconnect device.
  4. Restart iOS device (90% of the time it fixes things)
  5. If all else fails, restart your Mac (unlikely but it did fix an issue once for me).


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.


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.


This error also happens if the iPhone provisioning profile has expired.


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


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


If nothing works then check if your device os is compatible with your Xcode version.


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


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.


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.


SnowLeopard w/ XCode 4.2's Instruments will give this message on newer iOSes.


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!


Simply restarting the device (as the alert suggests) fixed the problem, at least on iOS 12.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号