Submit Search
Upload
Travis and fastlane
•
6 likes
•
2,434 views
Steven Shen
Follow
An introduction of Travis and Fastlane in Cocoaheads Taipei
Read less
Read more
Software
Report
Share
Report
Share
1 of 21
Download now
Download to read offline
Recommended
How we integrate & deploy Mobile Apps with Travis CI
How we integrate & deploy Mobile Apps with Travis CI
Marcio Klepacz
Fastlane - Automation and Continuous Delivery for iOS Apps
Fastlane - Automation and Continuous Delivery for iOS Apps
Sarath C
Continuous integration by Rémy Virin
Continuous integration by Rémy Virin
CocoaHeads France
Revue des annonces WWDC2015
Revue des annonces WWDC2015
CocoaHeads France
HotPush with Ionic 2 and CodePush
HotPush with Ionic 2 and CodePush
Evan Schultz
What's new in ios 7.0
What's new in ios 7.0
CocoaHeads France
Parse par Nicolas Lauquin
Parse par Nicolas Lauquin
CocoaHeads France
Jazoon12 355 aleksandra_gavrilovska-1
Jazoon12 355 aleksandra_gavrilovska-1
Netcetera
Recommended
How we integrate & deploy Mobile Apps with Travis CI
How we integrate & deploy Mobile Apps with Travis CI
Marcio Klepacz
Fastlane - Automation and Continuous Delivery for iOS Apps
Fastlane - Automation and Continuous Delivery for iOS Apps
Sarath C
Continuous integration by Rémy Virin
Continuous integration by Rémy Virin
CocoaHeads France
Revue des annonces WWDC2015
Revue des annonces WWDC2015
CocoaHeads France
HotPush with Ionic 2 and CodePush
HotPush with Ionic 2 and CodePush
Evan Schultz
What's new in ios 7.0
What's new in ios 7.0
CocoaHeads France
Parse par Nicolas Lauquin
Parse par Nicolas Lauquin
CocoaHeads France
Jazoon12 355 aleksandra_gavrilovska-1
Jazoon12 355 aleksandra_gavrilovska-1
Netcetera
Dockerize node.js application
Dockerize node.js application
Seokjun Kim
PhoneGap Day 2016 EU: Creating the Ideal Cordova Dev Environment
PhoneGap Day 2016 EU: Creating the Ideal Cordova Dev Environment
Ryan J. Salva
ApppiumDoc_version2015
ApppiumDoc_version2015
Amit DEWAN
Multitasking in iOS 7
Multitasking in iOS 7
Mickaël Rémond
Kadecot APIs overview
Kadecot APIs overview
sonycsl
React Native in Production
React Native in Production
Seokjun Kim
Javascript Essentials - Cisco Live Barcelona 2019
Javascript Essentials - Cisco Live Barcelona 2019
Cisco DevNet
Webex Devices xAPI - DEVNET_2071 - Cisco Live - San Diego 2019
Webex Devices xAPI - DEVNET_2071 - Cisco Live - San Diego 2019
Cisco DevNet
Breaking iOS Apps using Cycript
Breaking iOS Apps using Cycript
n|u - The Open Security Community
Banfootguns devseccon 2019
Banfootguns devseccon 2019
Morgan Roman
Formacion en movilidad: Conceptos de desarrollo en iOS (I)
Formacion en movilidad: Conceptos de desarrollo en iOS (I)
Mobivery
iOS Application Penetration Testing for Beginners
iOS Application Penetration Testing for Beginners
RyanISI
A Hacker's perspective on AEM applications security
A Hacker's perspective on AEM applications security
Mikhail Egorov
IOS 11 setup with appium latest
IOS 11 setup with appium latest
Harikrishna Recharla
The Hookshot: Runtime Exploitation
The Hookshot: Runtime Exploitation
Prathan Phongthiproek
Pentesting iOS Apps
Pentesting iOS Apps
Herman Duarte
Hardening Your Config Management - Security and Attack Vectors in Config Mana...
Hardening Your Config Management - Security and Attack Vectors in Config Mana...
Peter Souter
Selenium Automation at Incapsula
Selenium Automation at Incapsula
adamcarmi
Web components Introduction
Web components Introduction
Eugenio Romano
PhoneGap day 2016 EU: Simulating Cordova Plugins in the Browser
PhoneGap day 2016 EU: Simulating Cordova Plugins in the Browser
Ryan J. Salva
利用 iOS App 技術創業的 13 個方法
利用 iOS App 技術創業的 13 個方法
彼得潘 Pan
Developer sharing about xing
Developer sharing about xing
Steven Shen
More Related Content
What's hot
Dockerize node.js application
Dockerize node.js application
Seokjun Kim
PhoneGap Day 2016 EU: Creating the Ideal Cordova Dev Environment
PhoneGap Day 2016 EU: Creating the Ideal Cordova Dev Environment
Ryan J. Salva
ApppiumDoc_version2015
ApppiumDoc_version2015
Amit DEWAN
Multitasking in iOS 7
Multitasking in iOS 7
Mickaël Rémond
Kadecot APIs overview
Kadecot APIs overview
sonycsl
React Native in Production
React Native in Production
Seokjun Kim
Javascript Essentials - Cisco Live Barcelona 2019
Javascript Essentials - Cisco Live Barcelona 2019
Cisco DevNet
Webex Devices xAPI - DEVNET_2071 - Cisco Live - San Diego 2019
Webex Devices xAPI - DEVNET_2071 - Cisco Live - San Diego 2019
Cisco DevNet
Breaking iOS Apps using Cycript
Breaking iOS Apps using Cycript
n|u - The Open Security Community
Banfootguns devseccon 2019
Banfootguns devseccon 2019
Morgan Roman
Formacion en movilidad: Conceptos de desarrollo en iOS (I)
Formacion en movilidad: Conceptos de desarrollo en iOS (I)
Mobivery
iOS Application Penetration Testing for Beginners
iOS Application Penetration Testing for Beginners
RyanISI
A Hacker's perspective on AEM applications security
A Hacker's perspective on AEM applications security
Mikhail Egorov
IOS 11 setup with appium latest
IOS 11 setup with appium latest
Harikrishna Recharla
The Hookshot: Runtime Exploitation
The Hookshot: Runtime Exploitation
Prathan Phongthiproek
Pentesting iOS Apps
Pentesting iOS Apps
Herman Duarte
Hardening Your Config Management - Security and Attack Vectors in Config Mana...
Hardening Your Config Management - Security and Attack Vectors in Config Mana...
Peter Souter
Selenium Automation at Incapsula
Selenium Automation at Incapsula
adamcarmi
Web components Introduction
Web components Introduction
Eugenio Romano
PhoneGap day 2016 EU: Simulating Cordova Plugins in the Browser
PhoneGap day 2016 EU: Simulating Cordova Plugins in the Browser
Ryan J. Salva
What's hot
(20)
Dockerize node.js application
Dockerize node.js application
PhoneGap Day 2016 EU: Creating the Ideal Cordova Dev Environment
PhoneGap Day 2016 EU: Creating the Ideal Cordova Dev Environment
ApppiumDoc_version2015
ApppiumDoc_version2015
Multitasking in iOS 7
Multitasking in iOS 7
Kadecot APIs overview
Kadecot APIs overview
React Native in Production
React Native in Production
Javascript Essentials - Cisco Live Barcelona 2019
Javascript Essentials - Cisco Live Barcelona 2019
Webex Devices xAPI - DEVNET_2071 - Cisco Live - San Diego 2019
Webex Devices xAPI - DEVNET_2071 - Cisco Live - San Diego 2019
Breaking iOS Apps using Cycript
Breaking iOS Apps using Cycript
Banfootguns devseccon 2019
Banfootguns devseccon 2019
Formacion en movilidad: Conceptos de desarrollo en iOS (I)
Formacion en movilidad: Conceptos de desarrollo en iOS (I)
iOS Application Penetration Testing for Beginners
iOS Application Penetration Testing for Beginners
A Hacker's perspective on AEM applications security
A Hacker's perspective on AEM applications security
IOS 11 setup with appium latest
IOS 11 setup with appium latest
The Hookshot: Runtime Exploitation
The Hookshot: Runtime Exploitation
Pentesting iOS Apps
Pentesting iOS Apps
Hardening Your Config Management - Security and Attack Vectors in Config Mana...
Hardening Your Config Management - Security and Attack Vectors in Config Mana...
Selenium Automation at Incapsula
Selenium Automation at Incapsula
Web components Introduction
Web components Introduction
PhoneGap day 2016 EU: Simulating Cordova Plugins in the Browser
PhoneGap day 2016 EU: Simulating Cordova Plugins in the Browser
Viewers also liked
利用 iOS App 技術創業的 13 個方法
利用 iOS App 技術創業的 13 個方法
彼得潘 Pan
Developer sharing about xing
Developer sharing about xing
Steven Shen
Deploy your app with one Slack command
Deploy your app with one Slack command
Fabio Milano
Análisis lectura ¿qué es una constitución?
Análisis lectura ¿qué es una constitución?
Jairo Ascencio Guevara
The Mobile ToolChain with Fastlane - Code Red Talk at RedBlackTree
The Mobile ToolChain with Fastlane - Code Red Talk at RedBlackTree
RedBlackTree
IBM Innovate DevOps for Mobile Apps
IBM Innovate DevOps for Mobile Apps
Sanjeev Sharma
DevOps for the Mobile Enterprise: Test and Deploy
DevOps for the Mobile Enterprise: Test and Deploy
Rosalind Radcliffe
Exercising and Scaling Up Mobile DevOps in the Enterprise
Exercising and Scaling Up Mobile DevOps in the Enterprise
Bitbar
你的程式開發初體驗 (以Swift為例)
你的程式開發初體驗 (以Swift為例)
彼得潘 Pan
Best Practices for DevOps in Mobile App Testing
Best Practices for DevOps in Mobile App Testing
Bitbar
iOS 入門教學
iOS 入門教學
Steven Shen
Continuous Delivery with fastlane
Continuous Delivery with fastlane
Somkiat Puisungnoen
React-Native for multi-platform mobile applications @ Codemotion Rome 2017
React-Native for multi-platform mobile applications @ Codemotion Rome 2017
Matteo Manchi
Lean Startup for Agile Product Management
Lean Startup for Agile Product Management
Proyectalis / Improvement21
React Nativeはクロスプラットフォームモバイルアプリ開発の夢を見るか #DroidKaigi
React Nativeはクロスプラットフォームモバイルアプリ開発の夢を見るか #DroidKaigi
Yukiya Nakagawa
Viewers also liked
(15)
利用 iOS App 技術創業的 13 個方法
利用 iOS App 技術創業的 13 個方法
Developer sharing about xing
Developer sharing about xing
Deploy your app with one Slack command
Deploy your app with one Slack command
Análisis lectura ¿qué es una constitución?
Análisis lectura ¿qué es una constitución?
The Mobile ToolChain with Fastlane - Code Red Talk at RedBlackTree
The Mobile ToolChain with Fastlane - Code Red Talk at RedBlackTree
IBM Innovate DevOps for Mobile Apps
IBM Innovate DevOps for Mobile Apps
DevOps for the Mobile Enterprise: Test and Deploy
DevOps for the Mobile Enterprise: Test and Deploy
Exercising and Scaling Up Mobile DevOps in the Enterprise
Exercising and Scaling Up Mobile DevOps in the Enterprise
你的程式開發初體驗 (以Swift為例)
你的程式開發初體驗 (以Swift為例)
Best Practices for DevOps in Mobile App Testing
Best Practices for DevOps in Mobile App Testing
iOS 入門教學
iOS 入門教學
Continuous Delivery with fastlane
Continuous Delivery with fastlane
React-Native for multi-platform mobile applications @ Codemotion Rome 2017
React-Native for multi-platform mobile applications @ Codemotion Rome 2017
Lean Startup for Agile Product Management
Lean Startup for Agile Product Management
React Nativeはクロスプラットフォームモバイルアプリ開発の夢を見るか #DroidKaigi
React Nativeはクロスプラットフォームモバイルアプリ開発の夢を見るか #DroidKaigi
Similar to Travis and fastlane
Dependencies Managers in C/C++. Using stdcpp 2014
Dependencies Managers in C/C++. Using stdcpp 2014
biicode
OpenCloudDay 2014: Deploying trusted developer sandboxes in Amazon's cloud
OpenCloudDay 2014: Deploying trusted developer sandboxes in Amazon's cloud
Netcetera
Docker Security workshop slides
Docker Security workshop slides
Docker, Inc.
OpenSource ToolChain for the Hybrid Cloud
OpenSource ToolChain for the Hybrid Cloud
Isaac Christoffersen
Running Docker in Development & Production (#ndcoslo 2015)
Running Docker in Development & Production (#ndcoslo 2015)
Ben Hall
How we integrate & deploy Mobile Apps with Travis CI part 2
How we integrate & deploy Mobile Apps with Travis CI part 2
Marcio Klepacz
Open SSL and MS Crypto API EKON21
Open SSL and MS Crypto API EKON21
Max Kleiner
Codetainer: a Docker-based browser code 'sandbox'
Codetainer: a Docker-based browser code 'sandbox'
Jen Andre
NetDevOps Developer Environments with Vagrant @ SCALE16x
NetDevOps Developer Environments with Vagrant @ SCALE16x
Hank Preston
Docker remote-api
Docker remote-api
Eric Ahn
Continuous Delivery: The Next Frontier
Continuous Delivery: The Next Frontier
Carlos Sanchez
Composer, putting dependencies on the score
Composer, putting dependencies on the score
Rafael Dohms
Atmosphere Conference 2015: Taming the Modern Datacenter
Atmosphere Conference 2015: Taming the Modern Datacenter
PROIDEA
Assembling an Open Source Toolchain to Manage Public, Private and Hybrid Clou...
Assembling an Open Source Toolchain to Manage Public, Private and Hybrid Clou...
POSSCON
Burn down the silos! Helping dev and ops gel on high availability websites
Burn down the silos! Helping dev and ops gel on high availability websites
Lindsay Holmwood
Kubernetes security
Kubernetes security
Thomas Fricke
Introduction to InSpec and 1.0 release update
Introduction to InSpec and 1.0 release update
Alex Pop
Commcon 2018
Commcon 2018
Jöran Vinzens
Continuous Integration/Deployment with Docker and Jenkins
Continuous Integration/Deployment with Docker and Jenkins
Francesco Bruni
Modern tooling to assist with developing applications on FreeBSD
Modern tooling to assist with developing applications on FreeBSD
Sean Chittenden
Similar to Travis and fastlane
(20)
Dependencies Managers in C/C++. Using stdcpp 2014
Dependencies Managers in C/C++. Using stdcpp 2014
OpenCloudDay 2014: Deploying trusted developer sandboxes in Amazon's cloud
OpenCloudDay 2014: Deploying trusted developer sandboxes in Amazon's cloud
Docker Security workshop slides
Docker Security workshop slides
OpenSource ToolChain for the Hybrid Cloud
OpenSource ToolChain for the Hybrid Cloud
Running Docker in Development & Production (#ndcoslo 2015)
Running Docker in Development & Production (#ndcoslo 2015)
How we integrate & deploy Mobile Apps with Travis CI part 2
How we integrate & deploy Mobile Apps with Travis CI part 2
Open SSL and MS Crypto API EKON21
Open SSL and MS Crypto API EKON21
Codetainer: a Docker-based browser code 'sandbox'
Codetainer: a Docker-based browser code 'sandbox'
NetDevOps Developer Environments with Vagrant @ SCALE16x
NetDevOps Developer Environments with Vagrant @ SCALE16x
Docker remote-api
Docker remote-api
Continuous Delivery: The Next Frontier
Continuous Delivery: The Next Frontier
Composer, putting dependencies on the score
Composer, putting dependencies on the score
Atmosphere Conference 2015: Taming the Modern Datacenter
Atmosphere Conference 2015: Taming the Modern Datacenter
Assembling an Open Source Toolchain to Manage Public, Private and Hybrid Clou...
Assembling an Open Source Toolchain to Manage Public, Private and Hybrid Clou...
Burn down the silos! Helping dev and ops gel on high availability websites
Burn down the silos! Helping dev and ops gel on high availability websites
Kubernetes security
Kubernetes security
Introduction to InSpec and 1.0 release update
Introduction to InSpec and 1.0 release update
Commcon 2018
Commcon 2018
Continuous Integration/Deployment with Docker and Jenkins
Continuous Integration/Deployment with Docker and Jenkins
Modern tooling to assist with developing applications on FreeBSD
Modern tooling to assist with developing applications on FreeBSD
Recently uploaded
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
soniya singh
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
umasea
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽❤️🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽❤️🧑🏻 89...
gurkirankumar98700
Asset Management Software - Infographic
Asset Management Software - Infographic
Hr365.us smith
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalm
Sujith Sukumaran
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service Consultant
AxelRicardoTrocheRiq
chapter--4-software-project-planning.ppt
chapter--4-software-project-planning.ppt
kotipi9215
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
BradBedford3
Folding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a series
Philip Schwarz
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
stazi3110
Cloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEE
VICTOR MAESTRE RAMIREZ
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)
OPEN KNOWLEDGE GmbH
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
Christina Lin
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need It
Wave PLM
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
Alina Yurenko
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
MyIntelliSource, Inc.
MYjobs Presentation Django-based project
MYjobs Presentation Django-based project
AnoyGreter
The Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdf
Power Karaoke
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
StefanoLambiase
Recently uploaded
(20)
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽❤️🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽❤️🧑🏻 89...
Asset Management Software - Infographic
Asset Management Software - Infographic
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalm
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service Consultant
chapter--4-software-project-planning.ppt
chapter--4-software-project-planning.ppt
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Folding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a series
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Cloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEE
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need It
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
MYjobs Presentation Django-based project
MYjobs Presentation Django-based project
The Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdf
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Travis and fastlane
1.
TRAVIS CI
2.
% git add %
git commit % git push Service hook Mac VM Xcode • Build • Test • Deploy • Notify
3.
Setup Availability Speed Easy Manual Cloud Private
network DependsMedium Trouble shooting Hard Easy Cost Free for open source …..$129/month for private repo
4.
Setup % gem install
travis % vim .travis.yml language: objective-c script: - make notifications: email: false
5.
all: xcodebuild -arch "i386"
-configuration "Debug" -sdk "iphonesimulator" build | xcpretty
6.
Code Sign • Encrypt
your keys, certificates, and provisioning profiles. • Commit encrypted files to github • Decrypt and install before build
7.
% openssl aes-256-cbc
-k "foo" -in certs/dist.cer -out certs/dist.cer.enc -a % openssl aes-256-cbc -k "foo" -in certs/dist.p12 -out certs/dist.p12.enc -a % openssl aes-256-cbc -k "foo" -in certs/dev.cer -out certs/dev.cer.enc -a % openssl aes-256-cbc -k "foo" -in certs/dev.p12 -out certs/dev.p12.enc -a % openssl aes-256-cbc -k “foo” -in certs/AppStore.mobileprovision -out certs/AppStore.mobileprovision.enc -a % openssl aes-256-cbc -k “foo” -in certs/AdHoc.mobileprovision -out certs/AdHoc.mobileprovision.enc -a before_script: - openssl aes-256-cbc -k "$SECRET" -in certs/AdHoc.mobileprovision.enc -d -a -out certs/AdHoc.mobileprovision - openssl aes-256-cbc -k "$SECRET" -in certs/AppStore.mobileprovision.enc -d -a -out certs/AppStore.mobileprovision - openssl aes-256-cbc -k "$SECRET" -in certs/dist.cer.enc -d -a -out certs/dist.cer - openssl aes-256-cbc -k "$SECRET" -in certs/dist.p12.enc -d -a -out certs/dist.p12 - openssl aes-256-cbc -k "$SECRET" -in certs/dist.cer.enc -d -a -out certs/dist.cer - openssl aes-256-cbc -k "$SECRET" -in certs/dist.p12.enc -d -a -out certs/dist.p12 Encrypt Decrypt Export
8.
% travis encrypt
“SECRET=foo” --add env: global: - secure: eLo92Sw8KejuadMDTgY +bMAPow3D4zqkhBqXm8oUDctZn3qOJ5iJgMrNxfhSUx+AX/ jiT07+U0vicHWRjGtkIGBeZJ8FVJL7NZQbIbqa80g0+MT4CNk4bumUphY0 w+OOzsY8V4OKR90mUmzz3bVN8/ROFBZygeYBdiLnmhoQ93E= - secure: fGoTHN29GtCiux/ aGJ2wm3NYtbyIRh0vnfoJafYdzWC6lj0PWrv0KVF31rHA56f7wPVLFnLrx 2UhNzZHfMaavD9QSGVYNOcE2AVXuaRWnMrKmCjAkCW/7qnePwxcgcQTV +zQJTV523G4nDbWQMoQ9wugzTsxhj+Ob+ZF0cGEXUA= Use command line
9.
#!/bin/sh # create keychain security
create-keychain -p travis ios-build.keychain security default-keychain -s ios-build.keychain security unlock-keychain -p travis ios-build.keychain security set-keychain-settings -t 3600 -l ~/Library/Keychains/ios- build.keychain # Certificate & Private key security import ./certs/cert.cer -k ~/Library/Keychains/ios- build.keychain -T /usr/bin/codesign security import ./certs/key.p12 -k ~/Library/Keychains/ios- build.keychain -P "$KEY_PASSWORD" -T /usr/bin/codesign # Provisioning profiles mkdir -p ~/Library/MobileDevice/Provisioning Profiles cp "./certs/AppStore.mobileprovision" ~/Library/MobileDevice/ Provisioning Profiles/ cp "./certs/AdHoc.mobileprovision" ~/Library/MobileDevice/ Provisioning Profiles/
10.
language: objective-c osx_image: xcode6.4 before_install: -
gem install fastlane before_script: - openssl aes-256-cbc -k "$SECRET" -in certs/EMQAppStore.mobileprovision.enc -d -a -out certs/ EMQAppStore.mobileprovision - openssl aes-256-cbc -k "$SECRET" -in certs/EMQDev.mobileprovision.enc -d -a -out certs/ EMQDev.mobileprovision - openssl aes-256-cbc -k "$SECRET" -in certs/cert.cer.enc -d -a -out certs/cert.cer - openssl aes-256-cbc -k "$SECRET" -in certs/dev-cert.cer.enc -d -a -out certs/dev-cert.cer - openssl aes-256-cbc -k "$SECRET" -in certs/key.p12.enc -d -a -out certs/key.p12 - openssl aes-256-cbc -k "$SECRET" -in certs/dev-key.p12.enc -d -a -out certs/dev-key.p12 - sh ./certs/install-keys.sh script: - make podfile: iOSApp/Podfile notifications: email: false slack: emq-inc:kPgGUXItHsgRsNtc77Fz3f3P env: global: - secure: OqyOY/I8QoucKb4uWY9xu9pkXgFoTahqiRl3BLOCJEbgKMKoUyDnk7N/ALktHp2S/NuB4zj5PNA50Lhb/ zAnI7cTgZT0qEDJv2yDIM/j0wQFEHbKQafEHDWj2vAnook8OBpXiiykqWIb1dKgXCjzcEDjxhSo5V6V5IsdFHVAAew= - secure: gAw0juDvfHolj0zg93f2qnCFBxetvFIBTsMCgHMzStk0DyKrsh4IV +1x2CCqSFWo5q4EbXmsKKeyQKqfreIbbQTmZkAmXjIiVg70LDVgsqk5COWUTRgn21pUGWUFosxAkSZZghEf0o3Z62jA6FgeJkCkP cSLszuE0Qlbiq0SFSw= - secure: eLo92Sw8KejuadMDTgY+bMAPow3D4zqkhBqXm8oUDctZn3qOJ5iJgMrNxfhSUx+AX/ jiT07+U0vicHWRjGtkIGBeZJ8FVJL7NZQbIbqa80g0+MT4CNk4bumUphY0w+OOzsY8V4OKR90mUmzz3bVN8/ ROFBZygeYBdiLnmhoQ93E= - secure: fGoTHN29GtCiux/ aGJ2wm3NYtbyIRh0vnfoJafYdzWC6lj0PWrv0KVF31rHA56f7wPVLFnLrx2UhNzZHfMaavD9QSGVYNOcE2AVXuaRWnMrKmCjAkCW /7qnePwxcgcQTV+zQJTV523G4nDbWQMoQ9wugzTsxhj+Ob+ZF0cGEXUA=
11.
12.
13.
xcodebuild -arch "i386"
-configuration "Debug" - sdk "iphonesimulator" build | xcpretty fastlane build
14.
Setup % sudo gem
install fastlane % fastlane init % vim fastlane/Appfile % vim fastlane/Fastfile
15.
def unit_test xctest( workspace: 'EMQ.xcworkspace', scheme:
'EMQ-Demo', configuration: 'Demo', sdk: "iphonesimulator", arch: "i386", reports:[{ report: 'html', output: './test-report.html' }] ) slack( message: 'EMQ iOS App Unit Test', channel: '#dev-ios', default_payloads: [:test_result, :git_branch, :git_author, :last_git_commit], ) end before_all do ENV["SLACK_URL"] = "https://hooks.slack.com/services/ABCDEFG/ABCDEFG/ABCDEFG" clean_build_artifacts cocoapods end
16.
lane :deliver_demo do #increment_build_number sigh xcodebuild( workspace:
'EMQ.xcworkspace', configuration: 'Demo', scheme: 'EMQ-Demo', identity: 'iPhone Distribution: EMQ Limited (28HUT34N52)', clean: true ) unit_test xcarchive( workspace: 'EMQ.xcworkspace', configuration: 'Demo', scheme: 'EMQ-Demo', embed: '../certs/EMQAppStore.mobileprovision', identity: 'iPhone Distribution: EMQ Limited (28HUT34N52)' ) xcexport resign( ipa: 'EMQ-Demo.ipa', signing_identity: 'iPhone Distribution: EMQ Limited (28HUT34N52)', provisioning_profile: '../certs/EMQAppStore.mobileprovision', ) testflight(skip_deploy: true) end
17.
18.
all: ifeq ($(TRAVIS_PULL_REQUEST), false) fastlane
test else agvtool new-version -all $(TRAVIS_BUILD_NUMBER) fastlane deliver_demo endif
19.
xcodebuild -arch "i386"
-configuration "Debug" -sdk "iphonesimulator" build | xcpretty fastlane build Trouble shooting
20.
21.
• Easy setup •
No maintenance • Github integration • Bad for trouble shooting • Automate your flows • Flexible, customizable • Life saver • Great for CI
Download now