Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
---
format_version: 1.1.0
default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git
app:
envs:
- BITRISE_PROJECT_PATH: XXXX.xcworkspace
opts:
is_expand: false
- BITRISE_SCHEME: XXXX
opts:
is_expand: false
- opts:
is_expand: false
APP_BUNDLE_IDENTIFIER: xxx.xxxxxxxxxx.xxxx
- opts:
is_expand: false
XCPRETTY_JSON_FILE_OUTPUT: build_results.json
- opts:
is_expand: false
DEV_PLIST_PATH: XXXX/Info.plist
workflows:
magicpod:
steps:
- activate-ssh-key:
title: Activate App SSH key
inputs:
- ssh_key_save_path: "$HOME/.ssh/steplib_ssh_step_id_rsa"
- git-clone:
inputs:
- clone_depth: ''
- certificate-and-profile-installer: {}
- script:
inputs:
- content: |
#!/bin/bash
defaults write xcodebuild PBXNumberOfParallelBuildSubtasks 4
defaults write xcodebuild IDEBuildOperationMaxNumberOfConcurrentCompileTasks 4
defaults write com.apple.xcode PBXNumberOfParallelBuildSubtasks 4
defaults write com.apple.xcode IDEBuildOperationMaxNumberOfConcurrentCompileTasks 4
env
title: xcodebuild configuration
- script:
inputs:
- content: |-
#!/bin/bash
set -ex
set -x
# write your script here
git log --oneline | wc -l | tr -cd '0123456789' | envman add --key CUSTOM_BUILD_NUMBER
title: Get build version
- cache-pull: {}
- carthage:
inputs:
- carthage_options: "--platform ios --use-ssh --new-resolver"
- cocoapods-install: {}
- set-xcode-build-number:
inputs:
- plist_path: "$DEV_PLIST_PATH"
- build_version: "$CUSTOM_BUILD_NUMBER"
- fastlane:
inputs:
- lane: dev
- xcode-build-for-simulator:
inputs:
- simulator_device: iPhone 8
- magicpod-ui-test:
inputs:
- organization_name: XXXX
- project_name: XXXX
- bundle_id: APP_BUNDLE_IDENTIFIER
- device_language: Japanese
- magic_pod_api_token: "$MAGIC_POD_API_KEY"
- cache-push: {}
- slack:
inputs:
- webhook_url: "$SLACK_WEBHOOK_URL"
- message: "$GIT_CLONE_COMMIT_MESSAGE_SUBJECT"
- pretext: "*$BITRISE_GIT_BRANCH ($CUSTOM_BUILD_NUMBER)*"
- title: ''
- fields: |
Branch|${BITRISE_GIT_BRANCH}
Install (DeployGate)|${DEPLOYGATE_URL}
Install (Bitrise)|${BITRISE_PUBLIC_INSTALL_PAGE_URL}
- footer: ''
- buttons: ''
- timestamp: 'no'
- author_name: ''
- message_on_error: |-
:sadparrot: *<Build Failed..* `$BITRISE_GIT_BRANCH`
:mag: <$BITRISE_BUILD_URL|Check build logs>
before_run:
after_run:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.