"There is an internal API error" resolution in Xcode real-machine debugging

Source: Internet
Author: User

Xcode7 after the update using the real machine debugging, in the IOS8 of a iphone6 also no problem. IOS9.2 a iphone6s is no problem. But in the IOS7.0 of a iphone4s on the last installation when the installation failed, prompting there was an internal API error

If you see this text, you are using RSS to read or turn to "a Tree-blog park," The original address: http://www.cnblogs.com/atree/p/Xcode_API_error.html

Through n many times Baidu, collected some methods, tidy up:

Method one: Private API. (PS: Not resolved, what is the private API, I also specifically to check.) )

Method two: Regenerate. Action: First clear the previous file, "Product"--"clear", and then build again. (PS: My problem is still not solved )

Method Three: Delete iphone4s on the previous debugging program, run again. As for the specific reason, I found that when the error dialog box pops up just when it detects what the profile certificate is, it has something to do with the identity detection of the real machine. (PS: My problem is still not solved )

Method Four: Change product name to English and build again. The problem has finally been solved.

Finally, found that the console print out the log display in the installed app name is garbled, my product name is Chinese. Then, try to change the product name into English with the attitude of trying it, and then it's OK.

It is a good idea not to modify the product when you want to modify the app name, so you can modify the bundle display name in Info.plist.

"There is an internal API error" resolution in Xcode real-machine debugging

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.