Last active
January 13, 2017 10:07
-
-
Save Marlunes/3d66a112a69cf04810ad4e06360628f2 to your computer and use it in GitHub Desktop.
iOS 9.0, xcode 8.1 --> Circle CI Crashlytics Deployment
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include the branch you want to build | |
general: | |
branches: | |
only: | |
- master | |
- develop | |
machine: | |
xcode: | |
version: 8.1 | |
environment: | |
GYM_CODE_SIGNING_IDENTITY: "iPhone Distribution: The Company/User (Team ID)" #Make sure to much your distribution profile | |
GYM_USE_LEGACY_BUILD_API: true #this is optional | |
#if you used cocoapods | |
dependencies: | |
override: | |
- pod install | |
cache_directories: | |
- "~/.cocoapods" | |
#just incase you want to skip the test | |
test: | |
override: | |
- echo "test" | |
deployment: | |
beta_distribution: | |
branch: develop #will only send a build if the branch is develop | |
commands: | |
- gym --scheme "Project" --workspace "Project.xcworkspace" | |
- ipa distribute:crashlytics | |
--emails sample1@gmai,[email protected] #there should be no spaces | |
--crashlytics_path Pods/Crashlytics/iOS/Crashlytics.framework #should be the path where the crashlytics is installed | |
--api_token "$CRASHLYTICS_API_KEY" #define this on your circle ci environment variables | |
--build_secret "$CRASHLYTICS_SECRET" #define this on your circle ci environment variables |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment