Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rodrigo-lima/resign-ipa
Simple script to re-sign IPA file and update mobile provisioning, bundleID and entitlements
https://github.com/rodrigo-lima/resign-ipa
automation entitlements ipa mobileprovision sign-ipa
Last synced: 3 months ago
JSON representation
Simple script to re-sign IPA file and update mobile provisioning, bundleID and entitlements
- Host: GitHub
- URL: https://github.com/rodrigo-lima/resign-ipa
- Owner: rodrigo-lima
- License: mit
- Created: 2014-09-18T21:45:15.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-05-13T21:00:38.000Z (almost 9 years ago)
- Last Synced: 2024-10-14T11:45:02.508Z (4 months ago)
- Topics: automation, entitlements, ipa, mobileprovision, sign-ipa
- Language: Ruby
- Size: 8.79 KB
- Stars: 5
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
ipa-tools
==========**ipa-tools.rb** resign will re-sign the given IPA file using the provided distribution certificate.
In order for it to work, you must provide the following:
- **-i** -- IPA file name to be signed. Example: `-i "My_App.ipa"`
- **-e** -- Executable file name. Example: `-e "My App"`
- **-c** -- distribution certificate to be used. Example: `-c "iPhone Distribution: John Smith (1234)"`
- **-p** -- mobileprovision file. By default, it'll look for a file called **mobileprovision.plist**, or you could specify the full path with **-p**. Example: `-p "~/Downloads/Team_Provisioning.plist"`
- **-o** -- output signed IPA file name. Example: `-o "Signed_App.ipa`The script will also apply new **Entitlements** during signing. It searches for a file *'entitlements.plist'* on the current directory, and will ask you for a full file path if it cannot find.
After signed, the default output is called **'signed.ipa'** unless specified via -o argument.
A sample shell script - run_resign.sh - has been provided with most common options pre-set. Just update the variables on the top and run this shell script.
```
> $ ipa-tools.rb resign -i "My App.ipa" -c "iPhone Distribution: John Smith (1234)" -v
>
> $ ipa-tools.rb resign -i "Another App.ipa" \
-c "iPhone Distribution: John Smith (1234)" \
-p "~/Downloads/Team_Provisioning.plist" \
-o "My-SignedApp.ipa" \
-v
```Requirements
====
- RubyGems -- [download](https://rubygems.org/pages/download)
- thor -- [info](https://rubygems.org/gems/thor)
- zip -- [info](https://rubygems.org/gems/zip)References
====
- [Checking Distribution Entitlements](https://developer.apple.com/library/ios/qa/qa1798/_index.html)