Files
doneit-web/codemagic.yaml
T

59 lines
2.0 KiB
YAML
Raw Normal View History

2023-10-02 11:55:56 +01:00
workflows:
2023-10-02 15:57:48 +01:00
ios-native-workflow:
name: iOS Native
2023-10-02 11:55:56 +01:00
max_build_duration: 120
2023-10-02 15:57:48 +01:00
instance_type: mac_mini_m1
integrations:
2023-10-02 16:03:25 +01:00
app_store_connect: GabineteDigital
2023-10-02 11:55:56 +01:00
environment:
2023-10-02 15:57:48 +01:00
ios_signing:
distribution_type: app_store
bundle_identifier: com.gpr.gabinetedigital.teste
2023-10-02 11:55:56 +01:00
vars:
2023-10-02 16:01:41 +01:00
BUNDLE_ID: "com.gpr.gabinetedigital.teste"
2023-10-02 15:57:48 +01:00
APP_STORE_APPLE_ID: DV5P2ZCAPJ
xcode: latest
cocoapods: default
2023-10-02 11:55:56 +01:00
scripts:
2023-10-02 15:57:48 +01:00
- name: Install CocoaPods dependencies
2023-10-02 11:55:56 +01:00
script: |
2023-10-02 15:57:48 +01:00
pod install
- name: Set up provisioning profiles settings on Xcode project
script: xcode-project use-profiles
- name: Increment build number
2023-10-02 11:55:56 +01:00
script: |
2023-10-02 15:57:48 +01:00
cd $CM_BUILD_DIR
LATEST_BUILD_NUMBER=$(app-store-connect get-latest-app-store-build-number "$APP_STORE_APPLE_ID")
agvtool new-version -all $(($LATEST_BUILD_NUMBER + 1))
- name: Build ipa for distribution
2023-10-02 11:55:56 +01:00
script: |
2023-10-02 15:57:48 +01:00
xcode-project build-ipa \
--workspace "$CM_BUILD_DIR/$XCODE_WORKSPACE" \
--scheme "$XCODE_SCHEME"
2023-10-02 11:55:56 +01:00
artifacts:
2023-10-02 15:57:48 +01:00
- build/ios/ipa/*.ipa
- /tmp/xcodebuild_logs/*.log
- $HOME/Library/Developer/Xcode/DerivedData/**/Build/**/*.app
- $HOME/Library/Developer/Xcode/DerivedData/**/Build/**/*.dSYM
2023-10-02 11:55:56 +01:00
publishing:
email:
recipients:
- user_1@example.com
- user_2@example.com
notify:
success: true
failure: false
2023-10-02 15:57:48 +01:00
app_store_connect:
auth: integration
# Configuration related to TestFlight (optional)
# Note: This action is performed during post-processing.
submit_to_testflight: true
beta_groups: # Specify the names of beta tester groups that will get access to the build once it has passed beta review.
- group name 1
- group name 2
# Configuration related to App Store (optional)
# Note: This action is performed during post-processing.
submit_to_app_store: false