Xcode5 import project troubleshooting

Source: Internet
Author: User

Error code: No ubuntures to compile for (onLy_active_arch = Yes, active arch = x86_64, valid_archs = armv7 armv7s)

1. the command line reports an error when xcodebuild this target. (Yes to no)


2. In the Archive Project, an error occurs in "Your build settings specify a provisioning profile with the uuid" ", however, no such provisioning profile was found. It is strange that the provisioning profile of the specified UUID cannot be found. It is clear that your provisioning profile is just downloaded and is all newly installed. So Google found the answer.

Reference: http://stackoverflow.com/questions/1760518/codesign-error-provisioning-profile-cannot-be-found-after-deleting-expired-prof

The preceding error is solved by modifying the. xcodeproj file of your project.

1. Find the **. xcodeproj file in the project, right-click it, and choose show package contents (open package content ).

2. Open the project. pbxproj file and open it in a text editor. In fact, right-click the OPEN button.

3. After opening the file, press command + F to search for "provisioning_profile" in the file and find the"

<P> provisioning_profile = <span style = "color: #6b0001;"> "487f3eac-05fb-4a2a-9ea0-31f1f35760eb" </span>; </P> <p> <span style = "color: #6b0001; ">" provisioning_profile [SDK = iphoneos *] "</span> = <span style =" color: #6b0001; ">" Upgrade "</span>;. </P> <p> <span style = "font-family: Arial, Helvetica, sans-serif; Background-color: RGB (240,240,240);">
 
 
4. Save the file and re-open the project. Xcode will prompt you to download and install the provisioning profile file again. After the download, install it. </Span> </P>


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.