分发配置和代码签名问题

发布于 2024-11-28 10:35:46 字数 1639 浏览 0 评论 0原文

我刚刚生成了一个临时分发配置。我将其拖到 xcode 中,然后将我的临时构建设置为 iphone 发行版。遵循本教程。问题是,当我按照此说明查看设备列表时,embedded.mobileprovison 中甚至没有 ProvisionedDevices 密钥。关键是这样的:

<key>Entitlements</key>
    <dict>
        <key>application-identifier</key>
        <string>8CH38P5X6X.*</string>
        <key>get-task-allow</key>
        <false/>
        <key>keychain-access-groups</key>
        <array>
            <string>8CH38P5X6X.*</string>
        </array>
    </dict>
    <key>ExpirationDate</key>
    <date>2012-03-17T00:31:45Z</date>
    <key>Name</key>
    <string>Fever</string> //this is not my app name, how come it's here
    <key>TimeToLive</key>
    <integer>291</integer>
    <key>UUID</key>
    <string>101F3A06-B33C-411A-8173-A4CEAFF5E673</string>
        <key>Version</key>
    <string>101F3A06-B33C-411A-8173-A4CEAFF5E673</string>
    <key>Version</key>
    <integer>1</integer>
</dict>
</plist>

最奇怪的问题是它在 中有一个应用程序名称,这不是我的应用程序名称!这怎么可能?有些东西搞砸了..

这个8CH38P5X6X也是我的另一个名为Fever的应用程序的应用程序ID...这怎么..这怎么可能。我已经使用 iPhone 发行版进行了代码签名,它清楚地表明了这一点:

在此处输入图像描述

更新:

我删除/清除了 Fever 应用程序的配置文件,重新启动 xcode,并尝试再次构建存档,它起作用了!有人遇到过 Xcode 上的多个配置文件像这样混合在一起的问题吗?

I just generated a ad hoc distribution provisioning. I dragged this into xcode and then set my ad hoc build to be iphone distribution. Followed every single step in this tutorial. The issue is that when I follow this instruction to see my list of devices it doesn't even have a ProvisionedDevices key in the embedded.mobileprovison. The key goes something like this:

<key>Entitlements</key>
    <dict>
        <key>application-identifier</key>
        <string>8CH38P5X6X.*</string>
        <key>get-task-allow</key>
        <false/>
        <key>keychain-access-groups</key>
        <array>
            <string>8CH38P5X6X.*</string>
        </array>
    </dict>
    <key>ExpirationDate</key>
    <date>2012-03-17T00:31:45Z</date>
    <key>Name</key>
    <string>Fever</string> //this is not my app name, how come it's here
    <key>TimeToLive</key>
    <integer>291</integer>
    <key>UUID</key>
    <string>101F3A06-B33C-411A-8173-A4CEAFF5E673</string>
        <key>Version</key>
    <string>101F3A06-B33C-411A-8173-A4CEAFF5E673</string>
    <key>Version</key>
    <integer>1</integer>
</dict>
</plist>

The weirdest issue is that it has an app name in the , which is not my app name!! How is this even possible? Something is messed up..

This 8CH38P5X6X is also the App ID of my other app called Fever... how.. how is this possible. I've code signed adhoc using iphone distribution and it clearly says this:

enter image description here

UPDATE:

I removed/clear the provisioning profile that I have for the Fever app, restart xcode, and tried to build the archive again and it works! Anyone ever have issues with multiple provisioning profile on your xcode being mixed up like this?

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

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

发布评论

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

评论(1

初见你 2024-12-05 10:35:46

如果有人遇到此类问题,请删除系统上的所有其他分发配置文件。

If anyone is having such issues, please delete all other distribution provisioning profile you have on your system.

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