Test and distribute an iOS app with Gitlab CI

Test and distribute an iOS app with Gitlab CI

Cocoaheads Paris, November 2017

Adrien Humilière

November 09, 2017

Annual Pro sale · Save $30

Have presentations of your own?

Share with private links, password protection, and more control over your work.

Transcript

38 slides
  1. +

  2. Open source Source control & CI in the same place

    CI config versionned with Git .gitlab-ci.yml
  3. archive:debug: stage: archive script: - agvtool new-version -all $(agvtool vers

    -terse). $CI_PIPELINE_ID - xcodebuild -scheme "$DEBUG_SCHEME" -archivePath build/CapitaineTrain-${CI_COMMIT_SHA} archive only: - dev@capitainetrain/ios dev branch
  4. package: stage: package script: - xcodebuild -exportArchive -archivePath $ARCHIVE -

    exportOptionsPlist export-options.plist -exportPath build only: - dev@capitainetrain/ios - master@capitainetrain/ios
  5. deploy:itunes_connect: stage: deploy script: - altool --upload-app -f "${IPA}" -u

    "${CAT_ITC_USERNAME}" -p "${CAT_ITC_PASSWORD}" only: - dev@capitainetrain/ios - master@capitainetrain/ios

More Decks by Adrien Humilière

Other Decks in Programming