All Projects → doubledutch → recodesign

doubledutch / recodesign

Licence: other
This script provides an easy way to codesign a DoubleDutch created iOS event app.

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to recodesign

tls-ca-manage
Multi-level Certificate Authority Management tool, front-end tool to OpenSSL, written in bash shell.
Stars: ✭ 19 (+5.56%)
Mutual labels:  codesign
ios code sign
iOS 签名简介
Stars: ✭ 23 (+27.78%)
Mutual labels:  codesign
speedle-plus
Speedle+ is an open source project for access management. It is based on Speedle open source project and maintained by previous Speedle maintainers.
Stars: ✭ 45 (+150%)
Mutual labels:  entitlements
spicedb
Open Source, Google Zanzibar-inspired fine-grained permissions database
Stars: ✭ 3,358 (+18555.56%)
Mutual labels:  entitlements

Recodesign

This script provides an easy way to codesign a DoubleDutch created iOS event app.

Getting Started

This script is pretty simple in the end but there are a few requirements.

Prerequisites

Required on local system for recodesign.sh script and for recodesigning process:

  • Provisioning Profile for your app (must have push entitlement and associated domains)
  • Distribution Certificate, with associated private key, in Keychain Access
    • We have found that this is often missed, especially in that the Certificate exists on the computer, but does not have associated private key.
  • Up-to-date Xcode and Xcode Command Line Tools installed (for PlistBuddy command)
  • The .ipa that to be resigned will be provided by DoubleDutch.

Some notes and explanations

  • This script requires 2 arguments, it cannot run without both files.
  • This app claims 2 specific entitlements: Apple's Push Notification Services, Associated Domains and Keychain Access. Push Notifications rely on a setting in the Provisioning profile
    • Push Notifications Services must be enabled on your Provisioning Profile for recodesigning to be successful
    • If the push notifications entitlement is not in the Provisioning Profile, this script will output the message "This provisioning profile doesn't have push entitlement!"
    • Associated Domains allow the DoubleDutch created app to open an associated DoubleDutch URLs.
    • Keychain Access is necessary to store the users login and password combination, so that the user can access the app, after closing and reopening, without re-logging in.

Installing

Clone this repo or download the .zip If you want the ultimate in convenience, put this repo in a safe place, then add to your $PATH

Usage

  • Unzip the handoff folder that was sent to you.
  • Launch terminal and run 'recodesign.sh' with minimum 2 arguments (The arguments can be run in any order.)
sh path/to/recodesign.sh path/to/app.ipa path/to/profile.mobileprovision
  • There are several optional flags.
    • e For Enterprise Distribution (internal distribution, but not ad hoc)
    • h help
    • t enable TestFlight option in script (TestFlight is enabled by default)
    • v change the version and use a new provisioning profile
    • E the same as -e and -v, enterprise signing and custom versions
sh path/to/recodesign.sh -e path/to/app.ipa path/to/profile.mobileprovision

or

sh path/to/recodesign.sh -E path/to/app.ipa path/to/profile.mobileprovision
  • When finished you will have a folder on your Desktop called 'Codesign_Output'.
    • In this folder you will find the .ipa file ready to be submitted or distributed and the entitlements.plist file that was used in codesigning; this file can be helpful in troubleshooting.
    • This folder will open automatically after the script has run.

Example

An example of how this could look (file paths and names will vary):

sh recodesign.sh ~/Desktop/provided.ipa ~/Downloads/app.mobileprovision

Acknowledgments

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].