codemagic_ios_templates

This repository is a starting point to setup codemagic.yaml configuration to build and publish a native iOS app on Codemagic.

Getting Started

  1. Clone this repository or copy the codemagic.yaml file and add it to your existing native iOS project.

  2. Follow the instructions in the Codemagic documentation for iOS native apps to create a signing certificate and provisioning profile for your app.

  3. Update the codemagic.yaml file with your desired configuration. Replace the BUNDLE_ID with your app's bundle identifier.

    environment:
      ios_signing:
        distribution_type: app_store
        bundle_identifier: BUNDLE_ID # Replace with your app's bundle identifier
      vars:
        BUNDLE_ID: "BUNDLE_ID" # Replace with your app's bundle identifier

Replace the XCODE_WORKSPACE and XCODE_SCHEME with your xcode workspace and scheme.

        XCODE_WORKSPACE: "xxx.xcworkspace" # Replace with your xcode workspace
        XCODE_SCHEME: "xxx" # Replace with your xcode scheme

Replace the 0000000000 with your app store apple id.

        APP_STORE_APPLE_ID: 0000000000 # Replace with your app store apple id
  1. If you've set up your signing certificate and provisioning profile, you can now build your app on Codemagic and publish to Test Flight. ✨