问题
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:
Disconnect iPhone from Mac
Launch
Xcode
from the terminal
cd /Applications/Xcode.app/Contents/MacOS/
./Xcode -DVTDownloadableLogLevel 3
Press
CMD+F
and search for the output "Starting a download for Watch"Quit
Xcode
Open
Xcode
with flag to keep the downloaded files
./Xcode -DVTDownloadableLeaveTemporaryFiles 1
Quit
Xcode
Mount the
Disk Image
then open the Package inPacifist
(https://www.charlessoft.com)- Open the following location
~/Library/Developer/Xcode/watchOS DeviceSupport/
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/
来源:https://stackoverflow.com/questions/42261787/no-debugging-symbols-are-available-for-the-os-version-installed-on-apple-watch