问题描述
您可能会在 Xcode 中收到一条消息,指出:
[Apple Watch Name] 上安装的操作系统版本没有可用的调试符号.验证您的互联网连接是否正常,然后断开并重新连接配套设备以重新尝试下载符号.
截图:
断开手机后,观看,重启,无果.
最终,这似乎是一个由 WatchKit 调试包安装失败引起的错误.
手动安装包的步骤:
断开 iPhone 与 Mac 的连接
从终端启动
Xcode
cd/Applications/Xcode.app/Contents/MacOS/
./Xcode -DVTDownloadableLogLevel 3
按
CMD+F
并搜索输出Starting a download for Watch"退出
Xcode
用标志打开
Xcode
以保留下载的文件
./Xcode -DVTDownloadableLeaveTemporaryFiles 1
退出
Xcode
安装
磁盘映像
,然后在Pacifist
(https://www.charlessoft.com)打开以下位置
~/Library/Developer/Xcode/watchOS DeviceSupport/
将
System
和usr
文件夹从Pacifist拖入文件夹重新打开
Xcode
将 iPhone 重新连接到 Mac,注意 Apple Watch 连接成功.
改编自指南:http://indiestack.com/2016/12/installing-symbols-for-watchos/
You may get a message in Xcode that states:
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:
Disconnect iPhone from Mac
Launch
Xcode
from the terminal
Press
CMD+F
and search for the output "Starting a download for Watch"Quit
Xcode
Open
Xcode
with flag to keep the downloaded files
Quit
Xcode
Mount the
Disk Image
then open the Package inPacifist
(https://www.charlessoft.com)Open the following location
Drag the
System
andusr
folders from Pacifist into the folderReopen
Xcode
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 上安装的操作系统版本没有可用的调试符号的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!