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: 7 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 (about 11 years ago)
- Default Branch: master
- Last Pushed: 2016-05-13T21:00:38.000Z (over 9 years ago)
- Last Synced: 2025-03-24T05:43:32.306Z (7 months ago)
- Topics: automation, entitlements, ipa, mobileprovision, sign-ipa
- Language: Ruby
- Size: 8.79 KB
- Stars: 5
- Watchers: 2
- 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)