简体   繁体   English

Xcode,未找到此可执行文件的配置文件

[英]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. 我通过Xcode组织者创建了一个新的授权配置文件,并试图使用它在设备上运行。 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." 首先,我连接的iPad都是绿色的,然后在构建过程快要结束时,当Xcode说“正在验证”时,我要在其上构建的组织器中iPad旁边的圆圈变成黄色,并且然后我收到错误消息,“未找到此可执行文件的有效预配置porfile。” 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. 从那以后,我唯一要做的就是升级到Xcode 4.5.1。 When I tried to go back using Xcode 4.5, I still get the same error. 当我尝试使用Xcode 4.5返回时,仍然出现相同的错误。 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. 我观看了WWDC 2012上Apple的有关构建,归档和提交您的应用程序的视频,但这并没有帮助我解决此问题。 Any thoughts? 有什么想法吗? Thanks. 谢谢。

I had this same problem with I upgraded XCode. 我升级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. 然后,使用您的凭据从XCode中的管理器刷新证书。 Then you have to restart xcode, set the code signing identities again and then you should be good to go. 然后,您必须重新启动xcode,再次设置代码签名身份,然后就可以了。

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

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

Make sure your certificates are valid. 确保您的证书有效。 Go to keychain access and check the certificates there. 进入钥匙串访问并检查那里的证书。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 找不到此可执行文件的有效配置文件-Xcode 9? - A valid provisioning profile for this executable was not found - Xcode 9? Xcode 8找不到此可执行文件的有效配置文件 - Xcode 8 A valid provisioning profile for this executable was not found Xcode 10:未找到此可执行文件的有效配置文件 - Xcode 10: A valid provisioning profile for this executable was not found 找不到此可执行文件的有效配置文件错误Xcode 9 - A valid provisioning profile for this executable was not found error Xcode 9 xcode“找不到此可执行文件的有效配置文件” - xcode “A valid provisioning profile for this executable was not found” Xcode 7:应用程序安装失败:找不到此可执行文件的有效配置文件 - Xcode 7: App installation failed: A valid provisioning profile for this executable was not found 找不到有效的配置文件为此可执行文件 - Valid provisioning profile not found for this executable 找不到此可执行文件的有效配置文件:仅用于分发 - A valid provisioning profile for this executable was not found: only with distribution 错误:“找不到此可执行文件的有效配置文件” - Error: “A valid provisioning profile for this executable was not found” “找不到该可执行文件的有效配置文件” - “A valid provisioning profile for this executable could not be found”
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM