README.md in sigh-0.3.3 vs README.md in sigh-0.3.4

- old
+ new

@@ -9,11 +9,12 @@ <a href="https://github.com/KrauseFx/deliver">deliver</a> &bull; <a href="https://github.com/KrauseFx/snapshot">snapshot</a> &bull; <a href="https://github.com/KrauseFx/frameit">frameit</a> &bull; <a href="https://github.com/KrauseFx/PEM">PEM</a> &bull; <b>sigh</b> &bull; - <a href="https://github.com/KrauseFx/produce">produce</a> + <a href="https://github.com/KrauseFx/produce">produce</a> &bull; + <a href="https://github.com/KrauseFx/cert">cert</a> </p> ------- <p align="center"> <img src="assets/sigh.png"> @@ -114,13 +115,13 @@ To save the provisioning profile under a specific name, use the -f option: sigh -a com.krausefx.app -u username -f "myProfile.mobileprovision" -If you need the provisioning profile to be renewed regardless of its state use the `--force` option. This gives you a profile with the maximum lifetime: +If you need the provisioning profile to be renewed regardless of its state use the `--force` option. This gives you a profile with the maximum lifetime. `--force` will also add all available devices to this profile. - sigh --force -a com.krausefx.app -u username + sigh --force By default, ```sigh``` will include all certificates on development profiles, and first certificate on other types. If you need to specify which certificate to use you can either use the environment variable `SIGH_CERTIFICATE`, or pass the name or expiry date of the certificate as argument: sigh -c "SunApps GmbH" @@ -142,16 +143,23 @@ sigh resign ./path/app.ipa -i "iPhone Distribution: Felix Krause" -p "my.mobileprovision" ## Environment Variables In case you prefer environment variables: -- ```SIGH_USERNAME``` -- ```SIGH_APP_IDENTIFIER``` -- ```SIGH_CERTIFICATE``` (The name of the certificate to use) -- ```SIGH_TEAM_ID``` (The Team ID, e.g. `Q2CBPK58CA`) +- `SIGH_USERNAME` +- `SIGH_APP_IDENTIFIER` +- `SIGH_TEAM_ID` (The Team ID, e.g. `Q2CBPK58CA`) - `SIGH_DISABLE_OPEN_ERROR` - in case of error, `sigh` won't open Preview with a screenshot of the error when this variable is set. +Choose signing certificate to use: + +- `SIGH_CERTIFICATE` (The name of the certificate to use) +- `SIGH_CERTIFICATE_ID` (The ID of the certificate) +- `SIGH_CERTIFICATE_EXPIRE_DATE` (The expire date of the certificate) + +If you're using [cert](https://github.com/KrauseFx/cert) in combination with [fastlane](https://github.com/KrauseFx/fastlane) the signing certificate will automatically be selected for you. + # How does it work? ```sigh``` will access the ```iOS Dev Center``` to download, renew or generate the ```.mobileprovision``` file. Check out the full source code: [developer_center.rb](https://github.com/KrauseFx/sigh/blob/master/lib/sigh/developer_center.rb). @@ -165,9 +173,10 @@ - [`deliver`](https://github.com/KrauseFx/deliver): Upload screenshots, metadata and your app to the App Store using a single command - [`snapshot`](https://github.com/KrauseFx/snapshot): Automate taking localized screenshots of your iOS app on every device - [`frameit`](https://github.com/KrauseFx/frameit): Quickly put your screenshots into the right device frames - [`PEM`](https://github.com/KrauseFx/pem): Automatically generate and renew your push notification profiles - [`produce`](https://github.com/KrauseFx/produce): Create new iOS apps on iTunes Connect and Dev Portal using the command line +- [`cert`](https://github.com/KrauseFx/cert): Automatically create and maintain iOS code signing certificates ## Use the 'Provisioning Quicklook plugin' Download and install the [Provisioning Plugin](https://github.com/chockenberry/Provisioning). It will show you the ```mobileprovision``` files like this: