ios 如何在 Xcode 6 中将设备添加到开发门户?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/25328615/
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
How can I add a device to development portal in Xcode 6?
提问by Alex Stone
I see that Xcode6 has removed the "Devices" tab from the organizer and moved it to a separate "Devices" tab in Window > Devices.
我看到 Xcode6 已从管理器中删除了“设备”选项卡,并将其移至“窗口”>“设备”中的单独“设备”选项卡。
I do not see an option for "Add device to Member Center" from the Devices screen or the Devices > Provisioning Profiles screen.
我在“设备”屏幕或“设备”>“供应配置文件”屏幕中没有看到“将设备添加到会员中心”选项。
How can I add a device to Member Center and thus get the correct provisioning profiles installed in Xcode 6?
如何将设备添加到会员中心,从而在 Xcode 6 中安装正确的配置文件?
采纳答案by user774150
In your build settings, set your provisioning profile to automatic. Code signing identity to automatic as well.
在您的构建设置中,将您的配置文件设置为自动。代码签名身份也是自动的。
In some cases the xCode tries to fix both the main target and the "tests" target, but fails to properly sign the tests target. In such case, for demos downloaded from the internet, I just delete the tests target.
在某些情况下,xCode 尝试修复主要目标和“测试”目标,但未能正确签署测试目标。在这种情况下,对于从互联网下载的演示,我只是删除测试目标。
回答by Aditya369
@SeniorShizzle I think that the reason that it's showing like that for you is because your phone is running on a version lesser than the Deployment Target set in your app (Xcode -> YourAppName -> General).
@SeniorShizzle 我认为它对您显示的原因是因为您的手机运行的版本低于应用程序中设置的部署目标(Xcode -> YourAppName -> General)。
Sorry that I couldn't reply as a comment btw. I'm not allowed to do that yet.
对不起,我不能以评论的形式回复顺便说一句。我还不允许这样做。
回答by taesoo.kim
I found the solution. Delete 'iOS Team provisioning profile:*' in iPhone configuration utility.
我找到了解决方案。删除 iPhone 配置实用程序中的“iOS 团队配置文件:*”。
and try to run app then you could see fix issue.
并尝试运行应用程序,然后您可以看到修复问题。
回答by ghostatron
Another reason you might have trouble adding a new device is that you have reached your limit (100) on the number of devices you are allowed to register.
添加新设备时可能遇到问题的另一个原因是,您已达到允许注册的设备数量上限 (100)。
回答by parliament
My first time using XCode and apparently starting from version 6 they moved the creation of provisioning profile the developer.apple.com website. There you can register your device using the UUID you can find in XCode > Window > Devices for your phone. Then create an App ID and then a provisioning profile which you can then download from the website. Double clicking the downloaded file should add it to XCode > Windows > Devices > Show Provision Profiles.
我第一次使用 XCode 并且显然从版本 6 开始,他们将配置文件的创建移至 developer.apple.com 网站。在那里您可以使用 UUID 注册您的设备,您可以在 XCode > 窗口 > 设备中找到您的手机。然后创建一个 App ID,然后创建一个配置文件,然后您可以从网站下载。双击下载的文件应将其添加到 XCode > Windows > Devices > Show Provision Profiles。