Apple Watch how to do debugging and problem Rollup __apple

Source: Internet
Author: User

In our development of iOS or AppleWatch applications, no matter how our code is written, there is always a small desire to be able to run the program to the real machine, not the simulator. And with the release of Xcode7, this idea becomes more simple, even if you did not buy 99 knife developer account, and did not go to escape all kinds of abnormal means, now you can also through the official method of debugging. But I also ran into a lot of pits when I wanted to run on the AppleWatch. I'm here to solve this problem slowly.

First of all, let me list the various situations in which inexplicable bugs can not be run.

(1)

Error: No symbols for paired Apple Watch

After I plugged the iphone into a Mac, the iphone and Apple Watch were paired up, but that was the case.

Solution: The iphone or Apple Watch a shutdown, or the two are disconnected, and there is no problem.


(2)

Error: No debugging symbols are available for the OS version installed on * * * watch.verify that your Internet connection is FU Nctional,then Disconnect and reconnect the companion device to retry downloading.

After we have the above (1) problem, we may also have this problem, suggesting that we have not installed the debug tag on the watch, we need to download this so-called debug tag again. You may need to disconnect the network;

Solution: Reconnect your phone, Mac, etc. to the network, and try the USB plug again.


(3)

Error: Installing symbols for watchOS 2.0

This is not really a problem, this is just downloading the watch debug tag we encountered on the above (1) (2) two questions. The problem is that this state lasts for hours and even stops in this state .... I was all night. Installation status ... No language

Solution: Change a network environment, for example in your company, laboratory, home and so on different network environment to try to install, I just changed a other network environment, a few minutes to install this dongdong.


(4)

Error: The runtime will appear all kinds of such a prompt box, in short is to tell you "provisioning profile" how.

Solution: We all choose "Fix Issue" on it. Xcode will help you fix the problem by default and generate provisioning profile profiles.


(5)


You may also need to modify the code signing, which is the signature. In fact there are three parts: iOS project, WatchKit App, WatchKit Extension (statement: Apple Watch application is not a stand-alone application, it is actually an extension of iOS applications, so a watch App must correspond to an iOS app on the iphone, Apple's watch to Apple is a high-end gadget for the iphone. These three parts will have the corresponding code signing. If you can't run successfully, try changing this, either your Apple ID account or your default account.


Xcode7 does bring us a lot of convenience, the real machine debugging the iphone and watch relatively convenient, do not need too complex configuration process. Here is the first Apple Watch app screenshot:

.



(6) Here I can't help but spit down the Apple Watch network speed problem. Because watch relies on Bluetooth to connect to the iphone, then use the phone's network to surf the Internet. This kind of speed is really very slow ... The same request, you can quickly on the iphone brush out the picture, watch on the mood. Sincerely hope that the next generation of watch can directly connect WiFi.

(7) The problem of glance loading is too slow. Write an app that contains glance, when the app is installed on the watch, the glance interface is slow to come out. The Glance Interface's network request itself is extremely slow ...


GitHub home: https://github.com/chenyufeng1991. You are welcome to visit.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.