在 xcode 之外退出应用程序
我有一些应用程序想要使用不同的苹果开发者许可证辞职,
问题是,我没有源代码,只有 ipa 文件、应用程序和 archiveinfo.plist 如果我没有源代码,我可以放弃该应用程序吗?
谢谢! 奥帕
I have some apps i wanna resign with a different apple developer license,
Problem is, i dont have source code, only the ipa file, the app and the archiveinfo.plist
is it possible for me to resign the app if i dont have the source code?
Thanks!
Ompah
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
协同设计实用程序内置了替换已签名二进制文件上的签名的功能。这样,如果您的开发人员证书过期(正如它们经常令人烦恼的那样),您不必重建您的应用程序。
这可能很重要,特别是如果您需要支持旧的应用程序版本,并且自存档 IPA 以来您已经进行了代码更改。
我通常使用这个脚本。当与拥有自己的开发者帐户、我不想为他们刻录 UDID 插槽以及不想在他们的设备上加载我的配置文件的人交换调试构建 IPA 时,它会派上用场。
The ability to replace the signature on an already-signed binary is built into the codesign utility. That way, if your developer certificate expires (as they do annoyingly often), you don't have to rebuild your app.
This can be important, especially if you need to support an old app version, and you've made code alterations since you archived your IPA.
I usually use this script. It comes in handy when trading debug build IPAs with people who have their own developer accounts and who I don't want to burn a UDID slot for, and who don't want to have to load my provisioning profiles on their devices.
这是迄今为止我想出的最有效、最高效的解决方案。
确保您使用的是 Mac。此过程需要适用于 Mac OSX 的应用程序。
获取 .ipa 文件,将其重命名为 .zip 文件。
解压zip文件,您将看到一个名为“Payload”的文件夹,其中包含.app文件。
在此处下载 Mac OSX 应用程序 AppResigner:http://www.gorbster.net/ Misc/AppResigner.app.zip
解压缩应用程序。在解压的文件夹中,您将看到 Mac 应用程序“AppResigner”
打开此应用程序。它会要求您选择一个文件。选择我们从 .ipa 文件中解压的 .app。
它会要求您提供签名身份。打开 Mac 应用程序“钥匙串访问”。您在此处执行的步骤可能会略有不同。打开钥匙串“登录”并选择类别“证书”
在这里您需要找到要用于退出应用程序的证书。例如,它可能是:“iPhone 分发:您的公司名称”,您将需要访问您公司的分发配置文件才能使用分发证书。我还没有尝试过使用开发证书来执行此操作,我不知道这是否有效。
在 AppResigner 提示中准确输入此处显示的证书名称;复制/粘贴对我来说无法正常工作。
AppResigner 应该告诉您该应用程序已被撤销。
找到您退出的 .app 文件(与之前的文件相同)并将其压缩。我使用的是 Mac OSX 程序 Keka,但是有很多可用的。
将 zip 文件重命名为 .ipa 文件。
完成!
This is the most effective and efficient solution I have come up with so far.
Make sure you are using a Mac. This process requires an application for Mac OSX.
Take the .ipa file, rename it to a .zip file.
Extract the zip file, you will see a folder called “Payload” containing a .app file.
Download the Mac OSX app AppResigner here: http://www.gorbster.net/misc/AppResigner.app.zip
Unzip the app. Inside the unzipped folder you will see the Mac App “AppResigner”
Open this app. It will ask you to choose a file. Choose the .app we unzipped from the .ipa file.
It will ask you for a signing identity. Open the Mac App “Keychain Access”. The steps that you will take here may vary slightly. Open the keychain “login” and choose category “Certificates”
Here you need to find the certificate with which you want to resign the app. For example it could be: “iPhone Distribution: Your Company Name”, you will need to have access to your company’s Distribution profile to use a distribution certificate. I have not tried doing this with a development certificate, I don't know if that will work.
Type in this certificate name exactly as it is shown here into the AppResigner prompt; copy / paste was not working correctly for me.
AppResigner should tell you that the app has been resigned.
Find the .app file that you resigned (it is the same one as before) and zip it up. I use the Mac OSX program Keka, but many are available.
Rename the zip file to a .ipa file.
Done!