xcode 在没有苹果开发者帐户的情况下将新的 iPhone UDID 添加到配置文件中
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/3416804/
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
Adding new iPhone UDIDs to provision profile without an apple dev account
提问by ReadyWater
I'm part of the design (I've had experience with python, php, jquery, and java, but never ObjC) team for our application and was handed off some of the developer responsibilities with our iPhone developer went on his vacation. From the developer, I have the project source, his p12 private key, and the mobileprovision file.
我是我们应用程序设计团队的一员(我有使用 python、php、jquery 和 java 的经验,但从来没有使用过 ObjC),并且在我们的 iPhone 开发人员休假时被移交了一些开发人员的职责。从开发人员那里,我有项目源、他的 p12 私钥和 mobileprovision 文件。
Already, I've encountered this error when attempting to build the application on a device:
在尝试在设备上构建应用程序时,我已经遇到了这个错误:
Code Sign error:
The identity 'iPhone Developer: xxxxxx xxxxx (xxxxxxxxxx)' doesn't match any valid
certificate/private key pair in the default keychain
despite XCode apparently recognising the distro and keychain (I used security import xx.p12 -k ~/Library/Keychains/login.keychain
to import the p12
file; and there are both the private key and the iPhone Distribution: xxxx xxxxxxx certificate in the keychain GUI.
尽管 XCode 显然可以识别发行版和钥匙串(我曾经security import xx.p12 -k ~/Library/Keychains/login.keychain
导入p12
文件;并且钥匙串 GUI 中有私钥和 iPhone 发行版:xxxx xxxxxxx 证书。
This I am pretty sure I can solve, but my main concern is whether I can add new UDIDs for the beta tests, which are occurring next week. The methods I've seen all involve adding devices via Apple's dev centre, and then downloading; i.e. no way to add UDIDs locally. Our developer is running it off of his personal Apple Dev license ($99 one), which we don't have the password for.
我很确定我可以解决这个问题,但我主要关心的是我是否可以为下周进行的 beta 测试添加新的 UDID。我见过的方法都是通过苹果的开发中心添加设备,然后下载;即无法在本地添加 UDID。我们的开发人员使用他的个人 Apple Dev 许可证(一个 99 美元)运行它,我们没有密码。
So main question: is there any way to add UDIDs to our distro WITHOUT using the Apple dev centre (i.e. locally), or worse case, can I register my account as an apple developer and then add the UDIDs to that new account to distribute?
所以主要问题是:有没有办法在不使用 Apple 开发中心(即本地)的情况下将 UDID 添加到我们的发行版,或者更糟糕的情况,我可以将我的帐户注册为 Apple 开发人员,然后将 UDID 添加到该新帐户以进行分发吗?
采纳答案by JonB
Without being able to access his Developer account there is no way for you to create new provisioning files (for extra UUID's) for his account. To add more UUID's you will have to create your own account and setup the project with those certificates and provisioning files.
如果无法访问他的开发人员帐户,您就无法为他的帐户创建新的配置文件(用于额外的 UUID)。要添加更多 UUID,您必须创建自己的帐户并使用这些证书和配置文件设置项目。
Of course you could ask the developer to add the UUID's to his account and create a new provisioning file for you. It just depends how many of his 100 UUID's per year he has used up.
当然,您可以要求开发人员将 UUID 添加到他的帐户并为您创建一个新的配置文件。这只取决于他每年 100 个 UUID 中有多少用完。
If you sign up for your own account, read up on ad hoc distribution. Apple has plenty of documentation. The following chapters will be of use:
如果您注册自己的帐户,请阅读临时分发。Apple 有大量文档。以下章节将有用:
......but sometimes guides are easier to follow.
......但有时指南更容易遵循。
回答by Jasarien
Nope. The only way to add new UDIDs is via iTunes connect.
不。添加新 UDID 的唯一方法是通过 iTunes 连接。
You'll have to contact your developer and either ask him for the password, or tell him the UDIDs so he can regenerate the profiles.
您必须联系您的开发人员,向他询问密码,或者告诉他 UDID,以便他可以重新生成配置文件。
回答by George Lambert
If you have the full source code, and an apple developer account, you could create a private beta test.
如果您有完整的源代码和苹果开发者帐户,您可以创建一个私人 Beta 测试。
You will need to build and code sign your app with a Ad-Hoc Distribution Profile.
您将需要使用 Ad-Hoc 分发配置文件构建应用程序并对其进行代码签名。
The limit is 100 devices, but you can produce multiple Ad-Hoc Distribution Profiles.
限制为 100 台设备,但您可以生成多个 Ad-Hoc 分发配置文件。
Each Ad-Hoc Profile can be attached to a select number of devices.
每个 Ad-Hoc 配置文件都可以附加到选定数量的设备上。
When Devices are added - you will need to get a new Ad-Hoc Provisioning Profile to distribute, but that should get you through a limited beta test.
添加设备后 - 您需要获得一个新的 Ad-Hoc Provisioning Profile 来分发,但这应该可以让您通过有限的 Beta 测试。
If you need more information - send me a quick message. (You may have some issues helping your beta - testers install on VISTA and Windows-7) so learn about IPA files.
如果您需要更多信息 - 给我发送一个快速消息。(您可能在帮助您的 beta 测试人员在 VISTA 和 Windows-7 上安装时遇到一些问题)所以了解 IPA 文件。
"So main question: is there any way to add UDIDs to our distro WITHOUT using the Apple dev centre (i.e. locally), or worse case, can I register my account as an apple developer and then add the UDIDs to that new account to distribute?"
“所以主要问题是:有没有办法在不使用 Apple 开发中心(即本地)的情况下将 UDID 添加到我们的发行版中,或者更糟糕的情况,我可以将我的帐户注册为 Apple 开发人员,然后将 UDID 添加到该新帐户以分发?”