Xcode 7.3 - iOS 9.1 - Jailbroken - Please check your setup and try again. (0xE8000022)

倖福魔咒の 提交于 2019-12-04 13:53:45

问题


I'm trying to load my application on my Jailbroken iPhone 6S running iOS 9.1. I previously had an iPhone 5s running some type of iOS 8 and it was also jailbroken, but I did not have any problems running my apps on that. I have tried all solutions for the specific error I'm getting, but it has not helped at all. Also, I did run my application successfully on an iPad for whatever that means.

I have tried every solution on this page: Error : The service is invalid

iPhone Specs & Related Stuff:

iPhone 6s - iOS 9.1 - 13B143

AppSync Unified v5.8 - AppCake

Jailbroken w/ Pangu 9

Xcode Build Settings - Code Signing: (If it helps) Build Settings - Code Signing


回答1:


EDIT: Forcing iOS to mount the DeveloperDiskImage does the trick.

  1. SSH into your iDevice and duplicate the /Developer folder to /DeveloperPangu, just to be safe.
  2. Exit your ssh session, or open a new tab
  3. Download the binary folder from: https://github.com/kpwn/yalu/blob/master/bin/,
  4. cd to the downloaded folder
  5. Execute this command:./ideviceimagemounter /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/9.1/DeveloperDiskImage.dmg

  6. Unplug your device

  7. Open Xcode and and plug your device back in
  8. Happy debugging! (Just make sure you don't reboot)

And when your done developing:

  1. SSH into your iDevice
  2. Do ps aux | grep Developer
  3. kill all the processes that are listed
  4. Do umount -f /Developer

The original Pangu Developer folder will be restored, and you can reboot again!

Original answer:

I've got the exact same problem. Don't really know what's causing this behavior. Maybe the fact that Pangu races iOS with an malformed DeveloperDiskImage.dmg?

Yeah, it's because of Pangu. If you SSH into your 9.1 device, you'll see that there is a folder called Developer, with a file called neagent, which symlinks to /pguntether. I guess Pangu9 either still uses an exploit in neagent, or it's a leftover file from Pangu8. (Pangu8 used this trick to achieve a tethered jailbreak: https://cansecwest.com/slides/2015/CanSecWest2015_Final.pdf) Don't really know if I can delete it and then reboot, or if that would brick my device.

But I've found a way to still get the app on your device. Just go to Product > Archive, copy the .app from the contents, and sync it to your iPhone. Then just check the logs via the Devices window.




回答2:


If your phone is jailbroken, just connect to your phone (by ssh, iFunBox, whatever), and clear all contents under directory `/Developer/'. Reconnect to Xcode and Xcode will regenerate the contents it needs. Then you'll be fine.



来源:https://stackoverflow.com/questions/36267670/xcode-7-3-ios-9-1-jailbroken-please-check-your-setup-and-try-again-0xe80

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!