Apple Watch 上安装的操作系统版本没有可用的调试符号 [英] No debugging symbols are available for the OS version installed on Apple Watch

查看:21
本文介绍了Apple Watch 上安装的操作系统版本没有可用的调试符号的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您可能会在 Xcode 中收到一条消息,指出:

<块引用>

[Apple Watch Name] 上安装的操作系统版本没有可用的调试符号.验证您的互联网连接是否正常,然后断开并重新连接配套设备以重新尝试下载符号.

截图:

解决方案

断开手机后,观看,重启,无果.

最终,这似乎是一个由 WatchKit 调试包安装失败引起的错误.

手动安装包的步骤:

  1. 断开 iPhone 与 Mac 的连接

  2. 从终端启动 Xcode

<块引用>

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

./Xcode -DVTDownloadableLogLevel 3

  1. CMD+F 并搜索输出Starting a download for Watch"

  2. 退出 Xcode

  3. 用标志打开Xcode以保留下载的文件

<块引用>

./Xcode -DVTDownloadableLeaveTemporaryFiles 1

  1. 退出 Xcode

  2. 安装磁盘映像,然后在Pacifist (https://www.charlessoft.com)

  3. 打开以下位置

<块引用>

~/Library/Developer/Xcode/watchOS DeviceSupport/

  1. Systemusr文件夹从Pacifist拖入文件夹

  2. 重新打开Xcode

  3. 将 iPhone 重新连接到 Mac,注意 Apple Watch 连接成功.

改编自指南:http://indiestack.com/2016/12/installing-symbols-for-watchos/

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:

解决方案

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/

这篇关于Apple Watch 上安装的操作系统版本没有可用的调试符号的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆