我陷入了 iPhone 配置的混乱之中——需要洞察力

发布于 2024-09-17 06:31:59 字数 467 浏览 4 评论 0原文

我的应用程序或多或少已经准备好提交一段时间了,但像往常一样,苹果强迫开发人员跳过的过于复杂的配置废话给我带来了巨大的压力。最初我收到的问题是无效的代码设计。在尝试了我在互联网上可以找到的所有“解决方案”并失败后,我决定最好重新开始 - 删除我所有的配置文件,清理我的 itunes 连接帐户,从钥匙串中删除我的所有密钥和证书访问并从头开始。问题是,一旦我从钥匙串访问中删除了密钥和开发人员证书,我就无法将它们恢复!我尝试重新启动,尝试以各种可以想象的方式安装它,但我无法在钥匙串访问的“密钥”或“我的证书”部分中列出任何内容。我确实在“证书部分”中有一个 iPhone edveloper 配置文件,但这似乎没有任何用处,因为当我查看管理器时,没有列出开发人员配置文件,并且我的所有配置配置文件都警告“与此匹配的有效签名身份”在您的钥匙串中找不到个人资料”

请有人帮助我解决这个问题。我已经开发我的应用程序几个月了,我已经在应用程序商店中拥有了一个应用程序,但苹果坚持让这个过程几乎不可能。非常感谢!!!

My app has been more or less ready to be submitted for a while now, but as usual, the overly complex provisioning nonsense that Apple forces developers to jump through is causing me an enormous amount of stress. Initially the problem I was receiving was Invalid Codesign. After trying every 'solution' i could find on the internet and failing, I decided that it would be best if I started fresh -- Deleted all my provioning profiles, cleaned up my itunes connect account, deleted all my keys and certificate from the keychain access and started from scratch. The problem is that once I deleted by keys and developer certificate from the keychain access, I cant get them back!!! I've tried restarting, I've tried installing it every way imaginable, but I just cant get anything to be listed in the 'keys' nor 'my certificates' sections of the keychain access. I do have an iPhone edveloper profile in the 'certificates section' but this doesnt even seem to be of any use because when I look in the Organizer there are no developer profiles listed, and all my provisioning profiles warn "A valid signing identity matching this profile could not be found in your keychain"

Someone please help me through this mess. I've been developing my app for several months now and I already have an app in the App Store but Apple insists on making this process damn near impossible. Thanks so much!!!

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

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

发布评论

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

评论(1

晚雾 2024-09-24 06:32:00

您的公钥和私钥会在需要时自动生成 - 如果您使用证书助手按照配置文件的描述请求签名证书,您将发现已创建新的私钥/公钥。

开始此过程后,您还应该使用聚光灯删除下载中可能剩余的所有 .mobileprovision 和 .cer 文件,并使用管理器从设备中删除配置文件。如果您从头开始,您需要确保所有这些东西都不会给您带来问题。

可以肯定的是,这是一个过于复杂的过程,但是一旦所有内容都被真正删除并重新开始,它应该会在一段时间内发挥作用。我遇到的最大问题是在购买新 Mac 时,为了保持旧证书/配置有效而在导出/导入密钥时遇到问题。

Your public and private keys are automagically generated when required - if you use the certificate assistant to request a signing certificate as the provisioning profile describes you will find your new private/public keys created.

Once you begin this process you should also use spotlight to remove all .mobileprovision and .cer files you may have remaining in downloads, and also use organizer to remove profiles from devices. If you are starting from scratch you want to make sure none of that stuff remains to cause you problems.

This is an overcomplicated process to be sure, but once everything is really deleted and a fresh start is made it should be good for some time. The biggest problems I have had are when getting a new Mac and having hiccups with exporting/importing keys in an effort to keep my old certificates/provisioning valid.

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