简体   繁体   中英

Xcode, no provisioning profile was found for this executable

So I've had this problem before, but I never know the right away to approach it. I created a new provisoning profile through the Xcode organizer and tried to use that to run on the device. It did not work. I got the no valid prov profile error. When I go to the organizer, I see my profiles are all green. The iPad I connect to are all green at first, and then near the end of the build process, when Xcode says, "Validating", the circle next to the iPad in the organizer that I'm trying to build on turns yellow, and then I get the error, " a valid provisioning porfiles for this executable was not found." I have cleaned my build folder, restarted my machine, disconnected and reconnected my devices, nothing works. This all worked about a week ago. The only thing that I did since then was upgrade to Xcode 4.5.1. When I tried to go back using Xcode 4.5, I still get the same error. I'm not really sure what to look for next. I watched Apple's video from WWDC 2012 about building, archiving, and submitting your app, but that did not help me fix this issue. Any thoughts? Thanks.

I had this same problem with I upgraded XCode. First makes sure that your device is in the provisioning profile. Somehow mine wasn't even though I am sure it was before. Then, refresh your certificates from the Organizer in XCode using your credentials. Then you have to restart xcode, set the code signing identities again and then you should be good to go.

对我有用的解决方案是在4.5.1中出现问题后,在“目标”和“项目”中设置代码签名身份。

我们现在正在尝试的一件事是远景,但这也可能是您的问题:如果这是您正在使用的新iPad或设备,请确保进行注册。

Make sure your certificates are valid. Go to keychain access and check the certificates there.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM