无法在 iPhone 上安装 Provisioning Profiles (iOS 8 beta 4 / Xcode 6 Beta 4)
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/25101801/
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
Can't install Provisioning Profiles on iPhone (iOS 8 beta 4 / Xcode 6 Beta 4)
提问by user2443495
I can't install any of my iOS developer distribution or developer linked provisioning profiles onto my iPhone 5S running iOS beta 4 with Xcode beta 4 on OS X Yosemite dev preview 4. I have reinstalled iOS 8 with a restore, same for yosemite and Xcode betas, revoked and created new dev certificates, deleted and added new certificates to my Keychain access, and made sure all my new provisioning profiles are for the correct certificates. Yes I am a developer and have my iPhone udid added to by developer portal account. I have also made sure to include this iPhone in the provisioning profiles and doubled checked to make sure I'm logging into my dev account on Xcode. I just can't seem to get the profiles to install :(
我无法在 OS X Yosemite dev preview 4 上运行 iOS beta 4 和 Xcode beta 4 的 iPhone 5S 上安装我的任何 iOS 开发者发行版或开发者链接的配置文件。我已经重新安装了 iOS 8,对于 Yosemite 和 Xcode测试版,撤销并创建新的开发证书,删除并添加新证书到我的钥匙串访问中,并确保我所有的新配置文件都用于正确的证书。是的,我是一名开发人员,并通过开发人员门户帐户添加了我的 iPhone udid。我还确保将此 iPhone 包含在配置文件中,并仔细检查以确保我在 Xcode 上登录我的开发帐户。我似乎无法安装配置文件:(
I have included some screenshots of Xcode supposedly telling me the profiles are installed, but my phone says otherwise. I have also tried emailing them to myself and installing that way but my phone still says no profiles installed.
我已经包含了一些 Xcode 的屏幕截图,据说它告诉我配置文件已安装,但我的手机却另有说明。我也尝试通过电子邮件将它们发送给自己并以这种方式安装,但我的手机仍然说没有安装配置文件。
I would really appreciate i if someone could help me.
如果有人可以帮助我,我将不胜感激。
Thanks.
谢谢。
回答by Nobosi
Xcode is correct - the profiles are on your device and you can confirm this by installing and trying to run an app that relies on one of those profiles. The reason you're not seeing the provisioning profiles on the Profiles page is that iOS 8 no longer exposes provisioning profiles through the user interface.
Xcode 是正确的 - 配置文件在您的设备上,您可以通过安装并尝试运行依赖于这些配置文件之一的应用程序来确认这一点。您在“配置文件”页面上看不到配置文件的原因是 iOS 8 不再通过用户界面公开配置文件。
回答by goelv
I had this same problem last night and this morning. I am using xcode 6 beta 4, ipad mini ios 8 beta 4, iphone 5 ios 8 beta 4.
我昨晚和今天早上都遇到了同样的问题。我正在使用 xcode 6 beta 4、ipad mini ios 8 beta 4、iphone 5 ios 8 beta 4。
Go to developer.apple.com go to your certificates, revoke your current development certificate. create a new one and download it. shut down xcode. and drag and drop your newly downloaded certificate into xcode on your dock. let xcode open.
去 developer.apple.com 去你的证书,撤销你当前的开发证书。创建一个新的并下载它。关闭xcode。并将新下载的证书拖放到 Dock 上的 xcode 中。让 xcode 打开。
to make sure your certificates are properly loaded, go to xcode/preferencecs/accounts/view details to see if the certificates & provisioning profiles are there.
为确保您的证书已正确加载,请转到 xcode/preferencecs/accounts/view details 以查看证书和配置文件是否存在。
if all looks good so far, then clean your project, build it and then run it on your iOS device.
如果到目前为止一切看起来都不错,那么清理你的项目,构建它,然后在你的 iOS 设备上运行它。
回答by Arunas Bartisius
I understand that this is old question, but I encountered exactly same problem, tons of Provision profiles from old experimentation and was searching hours how to remove them and I found a solution which I share for any developers that need it in future. Solution is suitable for iOS 9 and XCode 7 (I believe for iOS 8 also).
我知道这是一个老问题,但我遇到了完全相同的问题,来自旧实验的大量 Provision 配置文件,并且正在搜索数小时如何删除它们,我找到了一个解决方案,我将与将来需要它的任何开发人员共享。解决方案适用于 iOS 9 和 XCode 7(我相信也适用于 iOS 8)。
- Using App Store install Apple Configurator 2on your Mac.
- Run it and connect mobile phone.
- Double click iPhone or iPad or any other device and switch left menu to
Profiles
to check is there any really present. - If Yes, the go back and Right click the device, choose menu
Remove->Profiles
. - Now very carefullycheck and select which profiles you do not need and click
Remove Profiles
- 使用 App Store在 Mac 上安装Apple Configurator 2。
- 运行它并连接手机。
- 双击 iPhone 或 iPad 或任何其他设备并切换左侧菜单
Profiles
以检查是否真的存在。 - 如果是,则返回并右键单击设备,选择菜单
Remove->Profiles
。 - 现在非常仔细地检查并选择您不需要的配置文件,然后单击
Remove Profiles
I can confirm, that there is nothing to see from user interface of the device, only special tools can show real view.
我可以确认,从设备的用户界面上看不到任何东西,只有特殊的工具才能显示真实的视图。
I hope this will save hours to others.
我希望这会为其他人节省数小时。