iPhone ad-hoc 分配如何?

发布于 2024-08-22 14:57:45 字数 485 浏览 5 评论 0原文

如何制作临时分发配置文件?

已经阅读了很多链接,但我认为我仍然缺少一些东西。 只是想不明白是什么。

这是我采取的步骤
1. 一名团队成员向我发送了他的 UDID
2.我将他的手机添加到开发门户下的“设备”

然后这就是我创建临时配置文件的方法
1. 在我的开发门户上依次转到“配置”和“分发”
2. 添加“新配置文件”并为“分发方法”单选按钮选择“临时”
3.选择“通配符”App id
4.选择所有手机。
5. 在某人的计算机上下载证书并安装它

所以团队成员给了我 UDID,我给了他一个 .mobileprovisioning 文件和应用程序二进制文件。那是行不通的。

这是我在 XCode 上看到的错误 - “在您的钥匙串中找不到与此配置文件匹配的有效签名身份”。

如果我尝试通过将应用程序拖入 XCode 来安装,我会收到“未找到此可执行文件的有效配置文件”

请赐教,
球座

how do I do an ad-hoc distribution profile?

Been reading many links but I think there is something that I'm still missing.
Just can't figure out what.

Here are the steps that I took
1. a team member sent me his UDID
2. I add his phone to "devices" under the dev portal

Then this is what I did to create the ad-hoc profie
1. go to "provisioning" then "distribution" on my dev portal
2. add "new profile" and select "ad-hoc" for the Distribution Method radio button
3. select the "wildcard" App id
4. select all phones.
5. download the certificate on someone's machine and install it

So team member gave me the UDID and I gave him back a .mobileprovisioning file and the app binary. That doesn't work.

This is the error that I see on XCode - "A valid signing identity matching this profile could not be found in your keychain".

If I try to install anyway by dragging the app into XCode, I get "A valid provisioning profile for this executable was not found"

Please enlight,
Tee

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

九局 2024-08-29 14:57:45

许多开发人员忘记做的一个主要步骤是将代码签名权利文件添加到他们的项目中。

在 XCode 内,将一个新文件添加到项目的 Resources 组中。在模板对话框中选择代码签名类别。您将需要选择权利。添加后,在 XCode 中突出显示它并取消选中“get-task-allow”值。

然后,您将需要获取 XCode 项目的信息,并在“构建”选项卡下,转到“代码签名”部分。在代码签名权利下,输入您添加的文件的名称。确保您在代码签名身份下选择了证书/配置文件对。使用这些设置进行构建后,您可以将 .ipa 或 .app 文件连同 .mobileprovision 文件一起交给您的用户,您应该已全部设置完毕。

A major step that a lot of developers forget to do is to add the code signing entitlements file to their project.

Inside XCode add a new file to the Resources group of your project. Choose the Code Signing Category in the template dialog. You will want to choose the Entitlements. Once this is added, highlight it in XCode and uncheck the "get-task-allow" value.

You will then want to go Get Info on your XCode project and under the Build tab, go to the Code Signing section. Under Code Signing Entitlements, put the name of the file you added. Make sure you have your Cert/Profile pair selected under the Code Signing Identity. Once you build with these settings, you can hand the .ipa or .app file along with the .mobileprovision file to your user and you should be all set.

二智少女 2024-08-29 14:57:45

您实际上正在创建使用您的分发证书签名的构建吗?开发者计划门户上的文档非常完整,我不知道这里的任何人都能够更好地解释该过程。请务必查看 Distribution >准备应用程序

Are you actually creating a build that is signed with your distribution certificate? The docs on the developer program portal are very complete, I don't know that anyone here would be able to do a better job of explaining the process. Make sure to look at the Distribution > Prepare App

深巷少女 2024-08-29 14:57:45

确保您在 OS X Keychain Access 应用程序中看到以下内容(在登录部分):

  • 带有您组织名称的私钥
  • 附加到上述私钥的证书,名为 iPhone 开发者:组织名称

确保您的配置文件位于 ~/Library/MobileDevice/Provisioning Profiles

Make sure you see the following in the OS X Keychain Access application (in the login section):

  • A private key with your organization's name.
  • A certificate attached to the above private key named iPhone Developer: Organization Name

Make sure your provisioning profile is located in ~/Library/MobileDevice/Provisioning Profiles.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文