Xcode packaging Apple application problems and solutions

Source: Internet
Author: User

1. After the phone is upgraded to iOS 10, the running real machine appears development cannot be enabled while the your device is locked.

Cause Analysis:

Here is you to this computer set up distrust;

To do this, turn on restore location and privacy by turning on restore, general-purpose, phone settings. Restore

Then there will be a pop-up window to indicate whether you trust this computer, click Trust, restart Xcode, and then run the project to your phone.

2.Xcode appears Could not locate device support Files,this IPhone 6s was running IOS 10.3 (14E277), which may wasn't be supported B Y this version of Xcode. (Transferred from http://blog.csdn.net/itaacy/article/details/67632244)

In general, the phone system is updated, but Xcode is not updated, and the problem is not supported. Such as:

Workaround One, updatexcod

The simplest solution to this problem is to update the Xcode version to the latest.

Workaround two, import the responseiOS system image

First look at the current system version of the phone
Then find Xcode.app in Applications , right- xcode.app, select Show package Contents

Open Path/applications/xcode.app/contents/developer/platforms/iphoneos.platform/devicesupport

Check the current phone system version number is not in the Devicesupport directory (some words will be restarted Xcode can be resolved)

If there is no corresponding version, example does not have 10.3, you can go to download 10.3, the download successfully put to/applications/xcode.app/contents/developer/platforms/iphoneos.platform/ devicesupport/, you can restart Xcode.

The image is as follows:
Link: Https://pan.baidu.com/s/1c2kVVGW Password: 2dub

PS: You don't have to worry about the image being modified because Xcode verifies the signature and the modified file is not working properly.
a friend asked 10.3 (14E269) of the other small version, here to explain, as long as the iOS10.3 can use 10.3 (14E269), the image is to see the large version (10.3) of the

3. Occurrence (linker command failed with exit code 1) Error Summary

Errors have occurred in all files used in this library, such as the Baidumobstatappdelegate class and the Mypagelogviewcontroller class

This could be a link error caused by this static library path confusion.

Workaround: Build settings->search path->library Search Paths Add the appropriate path to the static library.

4.library not found For-liphone-lib-xcode integrated Unity project Error

Enter Targets->Build Settings->Library search paths ,
Cut "$(SRCROOT)/Libraries" The double quotation marks, and $(SRCROOT)/Libraries you can change them.

Xcode packaging Apple application problems and solutions

Related Article

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.