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>