开发者

The iPhone “phone” doesn’t have the provisioning profile with which the application was signed

开发者 https://www.devze.com 2022-12-25 06:01 出处:网络
I have tried everything to fix this provision problem and nothing is working. I\'ve reformated my Mac, reinstalled the iPhone, I\'ve also dragged the provisions (developer and distribution) onto the O

I have tried everything to fix this provision problem and nothing is working. I've reformated my Mac, reinstalled the iPhone, I've also dragged the provisions (developer and distribution) onto the Organizer, iTunes, and Xcode.

In iTunes people say to drag the provisions to the iPhone icon but that doesn't work; it's only able to go under Library (it shows a blue rectangle for me to drop it there). I just have a newly created dummy app with a 57x57 icon. I've also setup the project with the distribution thing with its distribution provision. When I build I get this:

The iPhone “myphone” doesn’t have the provisioning profile with which the application was signed.

Click “Install and Run” to install the provisioning profile “distribution” on “myphone” and continue running “helloworld.app”.

and it has a button "install and run" ive clicked on that hundreths of times and nothing.

in orgranizer I see a tab called Console. I've cleared it and rebuild the app and there is some output that I dont understand. I'm thinking its my problem whats it mean?

Fri Mar 26 11:22:19 unknown misagent[215] <Error>: profile not valid: 0xe8008012
Fri Mar 26 11:22:19 unknown mobile_installationd[206] <Error>: 00808600 install_embedded_profile: Skipping the installation of the embedded profile
Fri Mar 26 11:22:20 unknown mobile_installationd[206] <Error>: 00808600 verify_executable: Could not validate signature: e8008015
Fri Mar 26 11:22:20 unknown mobile_installationd[206] <Error>: 00808600 preflight_application_install: Could not verify /var/tmp/install_staging.NEb61T/helloworld.app/helloworld
Fri Mar 26 11:22:20 unknown mobile_installationd[206] <Error>: 00808600 install_application: Could not preflight application install
Fri Mar 26 11:22:20 unknown mobile_installation_proxy[219] <Error>: handle_install: Installation failed
Fri Mar 26 11:22:20 unknown mobile_installatio开发者_StackOverflow社区nd[206] <Error>: 00808600 handle_install: API failed
Fri Mar 26 11:22:20 unknown mobile_installationd[206] <Error>: 00808600 send_message: failed to send mach message of 64 bytes: 10000003
Fri Mar 26 11:22:20 unknown mobile_installationd[206] <Error>: 00808600 send_error: Could not send error response to client
Fri Mar 26 11:22:42 unknown misagent[231] <Error>: profile not valid: 0xe8008012
Fri Mar 26 11:22:43 unknown mobile_installationd[206] <Error>: 00809800 install_embedded_profile: Skipping the installation of the embedded profile
Fri Mar 26 11:22:43 unknown mobile_installationd[206] <Error>: 00809800 verify_executable: Could not validate signature: e8008015
Fri Mar 26 11:22:43 unknown mobile_installationd[206] <Error>: 00809800 preflight_application_install: Could not verify /var/tmp/install_staging.6M55Ay/helloworld.app/helloworld
Fri Mar 26 11:22:43 unknown mobile_installationd[206] <Error>: 00809800 install_application: Could not preflight application install
Fri Mar 26 11:22:43 unknown mobile_installation_proxy[235] <Error>: handle_install: Installation failed
Fri Mar 26 11:22:43 unknown mobile_installationd[206] <Error>: 00809800 handle_install: API failed
Fri Mar 26 11:22:43 unknown mobile_installationd[206] <Error>: 00809800 send_message: failed to send mach message of 64 bytes: 10000003
Fri Mar 26 11:22:43 unknown mobile_installationd[206] <Error>: 00809800 send_error: Could not send error response to client


i figured out the problem.

what i did was recreate a dummy project and named the project sample. then i created a new development and distribution provision and called it sample. i deleted all the provisions i had currently on my system and added the new ones by selecting both files and dragging it over into the xcode organiser. i also deleted the provision on my iphone by going to settings -> general -> profile -> clicked on remove. then i selected in xcode build -> build and it was successfull. what i was doing was i was a clicking on build and run and whenever i do that i get this error posted above. but when i do a regular build with the device selected in xcode it is 100% sucessfull with no errors. i had to try it in itunes connect to see if the app is sucessfull and i did an upload and it worked!. i cant believe it.


Make sure your Provision profile under Project Settings matches the profiles installed on the iPhone.

Project Settings

Project 201CavTouch201D Info http://img.skitch.com/20100326-ei2k9yha5yknrrcq4hsfgyet7f.preview.jpg

For iPhone Check the Organizer menu options from the Window Menu of Xcode.

Be sure they match.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号