After modifying the project app name, run an error on the real machine: The provisioning profile specified in your build settings ("Haotian") have an AppI

Source: Internet
Author: User

Error reminder: The provisioning profile specified in your build settings ("Haotian") have an AppID of "com.basecom.vipose" which does  Not match your bundle identifier "Com.baseus.iTemperature". Xcode can resolve this issue by downloading a new provisioning profiles from the Member Center.


Reason: I am in xxx-info.plist the value of the bundle display name (used to change the app on the left to display the name), modified and then run on the real machine to report this error!


Workaround:

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

The point here is to fix the above error by modifying your project's. xcodeproj file.

1. Locate the **.xcodeproj file in the project, right-click, showpackage contents (open package content).

2. After opening, locate the Project.pbxproj file and open it with a text editor. In fact, the right button, click Open on the good.

3. After opening this file, press command+f, look for "provisioning_profile" in this file, find and this "

<code style= "margin-top:0px; margin-right:0px; margin-bottom:0px; margin-left:0px; padding-top:0px; padding-right:0px; padding-bottom:0px; padding-left:0px; border-top-width:0px; border-right-width:0px; border-bottom-width:0px; border-left-width:0px; border-style:initial; border-color:initial; Vertical-align:baseline; Background-color:rgb (238,238,238) "><span style=" margin-top:0px; margin-right:0px; margin-bottom:0px; margin-left:0px; padding-top:0px; padding-right:0px; padding-bottom:0px; padding-left:0px; border-top-width:0px; border-right-width:0px; border-bottom-width:0px; border-left-width:0px; border-style:initial; border-color:initial; Vertical-align:baseline; Background-color:transparent ">provisioning_profile </span><span style=" margin-top:0px; margin-right:0px; margin-bottom:0px; margin-left:0px; padding-top:0px; padding-right:0px; padding-bottom:0px; padding-left:0px; border-top-width:0px; border-right-width:0px; border-bottom-width:0px; Border-left-width:0px; border-style:initial; border-color:initial; Vertical-align:baseline; Background-color:transparent ">=</span><span style=" margin-top:0px; margin-right:0px; margin-bottom:0px; margin-left:0px; padding-top:0px; padding-right:0px; padding-bottom:0px; padding-left:0px; border-top-width:0px; border-right-width:0px; border-bottom-width:0px; border-left-width:0px; border-style:initial; border-color:initial; Vertical-align:baseline; Background-color:transparent "> </span><span style=" color: #8000; margin-top:0px; margin-right:0px; margin-bottom:0px; margin-left:0px; padding-top:0px; padding-right:0px; padding-bottom:0px; padding-left:0px; border-top-width:0px; border-right-width:0px; border-bottom-width:0px; border-left-width:0px; border-style:initial; border-color:initial; Vertical-align:baseline; background-color:transparent; " > "487F3EAC-05FB-4A2A-9EA0-31F1F35760EB" </span><span style= "margin-top:0px; margin-right:0px; margin-bottom:0px; margin-left:0px; Padding-top:0px; padding-right:0px; padding-bottom:0px; padding-left:0px; border-top-width:0px; border-right-width:0px; border-bottom-width:0px; border-left-width:0px; border-style:initial; border-color:initial; Vertical-align:baseline; Background-color:transparent ">;</span><span style=" margin-top:0px; margin-right:0px; margin-bottom:0px; margin-left:0px; padding-top:0px; padding-right:0px; padding-bottom:0px; padding-left:0px; border-top-width:0px; border-right-width:0px; border-bottom-width:0px; border-left-width:0px; border-style:initial; border-color:initial; Vertical-align:baseline; Background-color:transparent "></span><span style=" color: #8000; margin-top:0px; margin-right:0px; margin-bottom:0px; margin-left:0px; padding-top:0px; padding-right:0px; padding-bottom:0px; padding-left:0px; border-top-width:0px; border-right-width:0px; border-bottom-width:0px; border-left-width:0px; border-style:initial; border-color:initial; Vertical-align:baseline; Background-color:transparent; " > "provisioning_profile[sdk=iphoneos*" "</span><span style=" margin-top:0px; margin-right:0px; margin-bottom:0px; margin-left:0px; padding-top:0px; padding-right:0px; padding-bottom:0px; padding-left:0px; border-top-width:0px; border-right-width:0px; border-bottom-width:0px; border-left-width:0px; border-style:initial; border-color:initial; Vertical-align:baseline; Background-color:transparent "> </span><span style=" margin-top:0px; margin-right:0px; margin-bottom:0px; margin-left:0px; padding-top:0px; padding-right:0px; padding-bottom:0px; padding-left:0px; border-top-width:0px; border-right-width:0px; border-bottom-width:0px; border-left-width:0px; border-style:initial; border-color:initial; Vertical-align:baseline; Background-color:transparent ">=</span><span style=" margin-top:0px; margin-right:0px; margin-bottom:0px; margin-left:0px; padding-top:0px; padding-right:0px; padding-bottom:0px; padding-left:0px; border-top-width:0px; Border-right-width:0px; border-bottom-width:0px; border-left-width:0px; border-style:initial; border-color:initial; Vertical-align:baseline; Background-color:transparent "> </span><span style=" color: #8000; margin-top:0px; margin-right:0px; margin-bottom:0px; margin-left:0px; padding-top:0px; padding-right:0px; padding-bottom:0px; padding-left:0px; border-top-width:0px; border-right-width:0px; border-bottom-width:0px; border-left-width:0px; border-style:initial; border-color:initial; Vertical-align:baseline; background-color:transparent; " > "487F3EAC-05FB-4A2A-9EA0-31F1F35760EB" </span><span style= "margin-top:0px; margin-right:0px; margin-bottom:0px; margin-left:0px; padding-top:0px; padding-right:0px; padding-bottom:0px; padding-left:0px; border-top-width:0px; border-right-width:0px; border-bottom-width:0px; border-left-width:0px; border-style:initial; border-color:initial; Vertical-align:baseline; Background-color:transparent ">;</span></code><span style=" baCkground-color:transparent ">" are deleted as similar. </span> Tip: You can find "<pre name=" code "style=" margin-top:0px; margin-bottom:10px; padding-top:5px; padding-right:5px; padding-bottom:5px; padding-left:5px; border-top-width:0px; border-right-width:0px; border-bottom-width:0px; border-left-width:0px; border-style:initial; border-color:initial; Vertical-align:baseline; Background-color:rgb (255,255,255); Overflow-x:auto; Overflow-y:auto; Width:auto; max-height:600px; line-height:18px; Text-align:left "><code style=" margin-top:0px; margin-right:0px; margin-bottom:0px; margin-left:0px; padding-top:0px; padding-right:0px; padding-bottom:0px; padding-left:0px; border-top-width:0px; border-right-width:0px; border-bottom-width:0px; border-left-width:0px; border-style:initial; border-color:initial; Vertical-align:baseline; Background-color:rgb (238,238,238) "><span style=" color: #8000; margin-top:0px; margin-right:0px; margin-bottom:0px; margin-left:0px; padding-top:0px; padding-right:0px; Padding-bottom:0px; padding-left:0px; border-top-width:0px; border-right-width:0px; border-bottom-width:0px; border-left-width:0px; border-style:initial; border-color:initial; Vertical-align:baseline; background-color:transparent; " >487F3EAC-05FB-4A2A-9EA0-31F1F35760EB</span></code>
"(For our own), delete all
<span style= "Background-color:transparent" >4. Then save the file and reopen the project. Xcode will prompt you to re-download the installation provisioning profile. You can install it after downloading it. </span>

After modifying the project app name, run an error on the real machine: The provisioning profile specified in your build settings ("Haotian") have an AppI

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.