Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
381 views
in Technique[技术] by (71.8m points)

ios - Can't install WatchKit app on Apple Watch

I have a WatchKit app that runs fine in the Simulator. But when I try to run it on an actual device it never finishes installing and never provides any error message or feedback.

The iOS app installs and runs fine. I bring up the Apple Watch app on the iPhone and it lists the app and shows the correct icon. Selecting that, the "Show App on Apple Watch" switch is on. Underneath it it says, "Installing...". And it stays there.

I can also see the app icon on the Apple Watch. Selecting it just shows the spinning wheel indicator as if it is trying to load.

Things I've tried based on other suggestions I've found here, on the Apple Developer forums, and around the web:

  • Verified that all app bundle IDs are correct and match.

  • Verified that the deployment target is iOS 8.2.

  • Verified that the WatchKit App runs in the simulator.

  • Verified that my provisioning profile includes my Apple Watch's UDID.

  • Verified that my Apple Watch shows up as a "Paired Watch" in Devices.

  • Deleted the app from my phone, and then rebooted my phone, watch, and Macbook before reinstalling.

None of the above work. Any suggestions?

Thanks!

Thomas Aylesworth

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

A friend who works on the USA Today iOS team, including the Apple Watch app, suggested I go to the project settings for the WatchKit App target and set "Skip Install" to NO. Sure enough, after doing this, I was able to install.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...