Iphone 无法启动com.apple.debugserver?

Iphone 无法启动com.apple.debugserver?,iphone,debugging,Iphone,Debugging,我使用的是idevicedebug命令。首先,它在iOS 7.1版的iPhone5c上运行良好&然后我在iPhone5s上运行它,得到以下错误。为什么? Could not start com.apple.debugserver! Please make sure to mount the developer disk image first: 1) Get the iOS version from `ideviceinfo -k ProductVersion`. 2) Find the mat

我使用的是idevicedebug命令。首先,它在iOS 7.1版的iPhone5c上运行良好&然后我在iPhone5s上运行它,得到以下错误。为什么?

Could not start com.apple.debugserver!
Please make sure to mount the developer disk image first:
1) Get the iOS version from `ideviceinfo -k ProductVersion`.
2) Find the matching iPhoneOS DeveloperDiskImage.dmg files.
3) Run `ideviceimagemounter` with the above path.
我使用的命令是

 idevicedebug run bundleid

为什么会这样?如何解决此问题?

要在设备上使用libimobiledevice工具,首先需要确保它已安装开发人员映像

有两种方法可以做到这一点:

  • 在设备上运行任何Xcode项目,它将在启动应用程序时自动挂载该项目

  • libimobiledevice有多种工具。其中之一是“IdeviceiManageMounter”,使用它在设备上装载适当的ios版本开发者映像。7.1的开发人员映像应位于以下路径中:

  • Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSup‌​端口/7.1/


    希望有帮助。

    以下步骤对我有效:

    步骤1:退出XCode

    步骤2:重新打开XCode

    第三步:清洁和建造

    步骤4:再次运行