重新签名IOS .ipa文件 (包含第三方框架和插件)

Posted yuanxiaoping_21cn_com

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了重新签名IOS .ipa文件 (包含第三方框架和插件)相关的知识,希望对你有一定的参考价值。

本文未经测试,初步看代码流程接近本人想法,留下作记录。
Intoduction

This code allow you to resign your own ipa assuming that you have:
1) a developer certificate issued by apple and added to your keychain
2) a mobileprovision file

This code allow you to resign your app without using xcode or if you need to add a UDID for development distribution.
This code correctly signs ipas with Frameworks (.framework folders), Plugins (.appex folders), Applications (.app folders)
This code autoincludes entitlements with binaries extracting them from the provided mobileprovision file.

Usage

This code runs on mac osx
You should already have installed OSX Command Lines Tools
The code is a shell script

 

Step 1
Change the following variables inside the signall.sh script:

 

Step 2

 

In your destination folder you will have all your ipas signed.

Source and Updates

https://bitbucket.org/xgiovio/ios-ipa-resign/src

Code
signall.sh

 

sign.sh

以上是关于重新签名IOS .ipa文件 (包含第三方框架和插件)的主要内容,如果未能解决你的问题,请参考以下文章

ios 如何检查ipa是被重签名过的

iOS 企业级 IPA 重签名

iOS 代码签名外部 IPA 文件

iOS ipa包进行重新签名

IOS苹果应用IPA重签名软件手机版(苹果重签名,企业签名,安卓苹果平台,时间控制)

mac命令行对复杂ipa包重新签名