xcode 未找到匹配的配置文件

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/26502338/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-08 18:01:08  来源:igfitidea点击:

xcode no matching provisioning profiles found

xcodematchingprovisioning-profile

提问by MTplus

I have an Adhoc iOS application that give me a "no matching provisioning profiles found in xcode 6", I have created a Adhoc profile, downloaded it, doubleclicked it and selected a Team under General - Identity. But I then get that message, and try to use the "Fix issue" button does not help. In Build settings - Provisioning Profile - Release I have "Automatic".

我有一个 Adhoc iOS 应用程序,它给我一个“在 xcode 6 中找不到匹配的配置文件”,我创建了一个 Adhoc 配置文件,下载了它,双击它并在常规 - 身份下选择了一个团队。但我随后收到该消息,并尝试使用“修复问题”按钮无济于事。在构建设置 - 配置文件 - 发布我有“自动”。

Can anyone please help me, I'm totally lost...

任何人都可以请帮助我,我完全迷路了......

回答by Mike Gledhill

Another cause of this nasty little error:

这个讨厌的小错误的另一个原因:

I didn't realise, but your XCode Project has one set of Code-Signing & Provisional Profile settings, but the Targets in your Project have another.

我没有意识到,但您的 XCode 项目有一组代码签名和临时配置文件设置,但您项目中的目标有另一组。

Today, I hadset the correct Provisioning Profile values in Project, but XCode 6.1 was quoting a differentProvisioning Profile name in its Build Error of "The provisioning profile specified in your build settings ("Mikes Provisioning Profile") has an AppID of.."

今天,我已经在项目设置正确的发放模板值,但6.1的XCode引用了一个不同的“其建立自己的错误供应配置文件名称(米凯什发放模板“)在构建设置中指定的供应曲线”有一个AppID ..

So, be careful that you check your settings in bothplaces, if XCode quotes a Provisional Profile name which you weren't expecting.

因此,如果 XCode 引用了您不期望的临时配置文件名称,请注意检查两个地方的设置。

It's amazing that XCode has reached v6.1, and its still as developer-unfriendly as ever.

令人惊讶的是,XCode 已经达到了 v6.1,而且它仍然像以往一样对开发人员不友好。

If anyone needs me, I'll be at the pub...

如果有人需要我,我会在酒吧...

回答by Ravi Garg

  1. Please install the Distribution Certificate in your Mac
  2. Edit your Ad-Hoc Provisioning Profile in Developer account
  3. Save the Provisioning Profile
  4. Download the Provisioning Profile
  5. Double Click to install in your Xcode 6
  6. Go to Xcode Preferences, please check whether your developer account is configured or not, if yes please refresh the list, if not please configure your developer account.
  7. Clean the project
  8. Now check for the Ad-Hoc Provisioning Profile and Distribution certificate in your Build Settings
  9. Importantis by using the Ad-Hoc Provisioning Profile you can not run the app in your device, you need to make an IPA and make a Testflight link and install the app in your device by using the Testflight link
  1. 请在您的 Mac 中安装分发证书
  2. 在开发者帐户中编辑您的临时配置文件
  3. 保存配置文件
  4. 下载配置文件
  5. 双击安装到你的 Xcode 6
  6. 进入Xcode Preferences,请检查您的开发者账号是否配置,如果是请刷新列表,如果没有请配置您的开发者账号。
  7. 清理项目
  8. 现在检查构建设置中的 Ad-Hoc 配置文件和分发证书
  9. 重要的是,通过使用 Ad-Hoc 配置文件,您无法在您的设备中运行该应用程序,您需要制作一个 IPA 并制作一个 Testflight 链接,并使用 Testflight 链接在您的设备中安装该应用程序

回答by Binh Le

I had this issue and did the following to resolve.
Go to Account section, download all provisioning profiles in account.
Clean and Build again.
Hope this help you.

我遇到了这个问题并做了以下事情来解决。
转到帐户部分,下载帐户中的所有配置文件。
清理并再次构建。
希望这对你有帮助。