Git Product home page Git Product logo

ipa-resigner's Introduction

ipa-resigner

This script re-signs an IPA for AppStore, Adhoc or Development Deployment. It is compatible with Swift Code.

##Requirements

  • Mac with OSX Yosemite (or later)
  • Xcode 6 (or later)
  • Xcode command line tools
  • A valid developer account with the iOS Developer Program

##Usage

  1. Generate one distribution certificate in the member center (http://developer.apple.com -> Member Center -> Certificates, Identifiers & Profiles)
  2. Import the new certificate in the Keychain of your Mac: be sure to keep the Keychain clean and remove old certificates.
    1. Open the Keychain Access app in your mac and choose Import item in the login keychain
  3. Generate the proviosining profile for the previous certificate.
    1. In the Member Center create a new provisioning profile for AppStore Distribution. In case you want to install the new IPA through iTunes in your devices, remember that you should use an Adhoc provisioning profile.
    2. Download the new file (i.e. the previously provisioning profile generated) and store it in a known location of your Mac
  4. Run the script with the following parameters:
    sh resign.sh /path/to/ipa /path/to/provisioning_profile "iPhone Developer/Distribution: **Team Member Name**"

####Example for Development Re-sign: sh resign.sh MyApp.ipa Adhoc_deployment.mobileprovision "iPhone Developer: MyTeam Member (XXXXXXXXXX)" ####Example for Adhoc Re-sign: sh resign.sh MyApp.ipa Adhoc_deployment.mobileprovision "iPhone Distribution: MyTeam Member (XXXXXXXXXX)" ####Example for AppStore Re-sign: sh resign.sh MyApp.ipa AppStore_deployment.mobileprovision "iPhone Distribution: MyTeam Member (XXXXXXXXXX)"

#License This script is distributed in terms of LGPL license. See http://www.gnu.org/licenses/lgpl.html for more details.

ipa-resigner's People

Contributors

sebastianvarela avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ipa-resigner's Issues

Details : To sign IPA from company's enterprise account to companies Appstore Account

Hello,

I have created a similar script based on the detailed IPA-resigner.sh script explained in your GitHub.

Great work to help and understand the IPA resigning.

For the multiple targets with the app having Siri kit, SiriUI, WatchKit, Watch Kit Extension, Widget, and main target how can the same be achieved?

I have attached my script for your reference, my IPA is getting generated with each precaution taken and done while signing from multiple blogs, but I am getting "Internal API error while installation"

Can advice why this may be happening or where I may be going wrong. Appreciate your kind inputs. The reason to do this is we cant have to access to Xcode to recompile and Certs profile outside production zone where we can only give pre-live (enterprise acc signed) IPA and they convert to Appstore IPA without any code change.

My script:
shell_resign_manual.sh.txt

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.