Files
doneit-web/codemagic.yaml
T

67 lines
2.4 KiB
YAML
Raw Normal View History

workflows:
ios-workflow:
name: iOS Workflow
max_build_duration: 120
2023-10-02 15:57:48 +01:00
integrations:
app_store_connect: 433YAF3YWG
2023-10-02 11:55:56 +01:00
environment:
2023-10-02 15:57:48 +01:00
ios_signing:
distribution_type: app_store
2023-10-02 15:57:48 +01:00
bundle_identifier: com.gpr.gabinetedigital.teste
2023-10-02 11:55:56 +01:00
vars:
APP_STORE_APPLE_ID: 1664747447
XCODE_WORKSPACE: "platforms/ios/App.app.xcworkspace"
XCODE_SCHEME: "App.app"
2023-10-02 11:55:56 +01:00
scripts:
- name: Install npm dependencies for Ionic Capacitor project
script: |
npm install
- name: Cocoapods installation
script: |
cd ios/App && pod install
- name: Update dependencies and copy web assets to native project
script: |
# if you don't need to update native dependencies, use this:
# npx cap copyapp
#
# to update native dependencies, use this command:
npx cap sync
- name: Set up code signing settings on Xcode project
script: |
xcode-project use-profiles
- name: Increment build number
script: |
cd $CM_BUILD_DIR/ios/App
LATEST_BUILD_NUMBER=$(app-store-connect get-latest-app-store-build-number "$APP_STORE_APPLE_ID")
agvtool new-version -all $(($LATEST_BUILD_NUMBER + 1))
2023-10-02 15:57:48 +01:00
- name: Build ipa for distribution
script: |
cd $CM_BUILD_DIR/ios/App
2023-10-02 15:57:48 +01:00
xcode-project build-ipa \
--workspace "$XCODE_WORKSPACE" \
2023-10-02 15:57:48 +01:00
--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:
- romavicdosanjoskc@gmail.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.
2023-10-02 15:57:48 +01:00
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