No debugging symbols are available for the OS version installed on Apple Watch

末鹿安然 提交于 2019-12-12 20:08:20

问题


You may get a message in Xcode that states:

No debugging symbols are available for the OS version installed on [Apple Watch Name]. Verify that your internet connection is functional, then disconnect and reconnect the companion device to retry downloading symbols.

Screenshot:


回答1:


After disconnecting the phone, watch, rebooting, nothing worked.

Ultimately, it appears that this is a bug appears to be caused by a failed installation of the WatchKit debugging package.

Steps install the package manually:

  1. Disconnect iPhone from Mac

  2. Launch Xcode from the terminal

cd /Applications/Xcode.app/Contents/MacOS/

./Xcode -DVTDownloadableLogLevel 3

  1. Press CMD+F and search for the output "Starting a download for Watch"

  2. Quit Xcode

  3. Open Xcode with flag to keep the downloaded files

./Xcode -DVTDownloadableLeaveTemporaryFiles 1

  1. Quit Xcode

  2. Mount the Disk Image then open the Package in Pacifist (https://www.charlessoft.com)

  3. Open the following location

~/Library/Developer/Xcode/watchOS DeviceSupport/

  1. Drag the System and usr folders from Pacifist into the folder

  2. Reopen Xcode

  3. Reconnect the iPhone to the Mac, and note that Apple Watch is connected successfully.

Adapted From Guide: http://indiestack.com/2016/12/installing-symbols-for-watchos/



来源:https://stackoverflow.com/questions/42261787/no-debugging-symbols-are-available-for-the-os-version-installed-on-apple-watch

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