Reusable iOS script for Travis CI with Testflight, Crittercism and HockeyApp support
- Travis CLI:
sudo gem install travis - xctool:
brew install xctool
-
Submodule this repository:
git submodule add [email protected]:oursky/travis-ios-script.git -
Export Code Signing Identity certificates.
- Open up Keychain Access
- Make sure you are under
Login->My Certificates - Right click on the certificate (Let's say your distribution cert.) -> Export -> choose
.ceras file format -> save asdist.cer - Expand the same certificate. You should see a private key entry. Export it like the previous step but choose
.p12as file format. Save asdist.p12. You will prompted for a password. Generate one and it will be yourKEY_PASSWORD.
-
Download your app's Provisioning Profile from Apple Developer Member Center.
-
Execute the script, follow the instructions.
-
Push. Sit back. Enjoy a ☕.