https://github.com/tahatesser/codemagic_ios_templates
https://github.com/tahatesser/codemagic_ios_templates
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/tahatesser/codemagic_ios_templates
- Owner: TahaTesser
- Created: 2024-03-17T19:33:49.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-02T18:00:49.000Z (about 1 year ago)
- Last Synced: 2024-12-09T11:31:15.022Z (6 months ago)
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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](./codemagic.yaml) file and add it to your existing native iOS project.
2. Follow the instructions in the [Codemagic documentation for iOS native apps](https://docs.codemagic.io/yaml-quick-start/building-a-native-ios-app/) to create a signing certificate and provisioning profile for your app.
4. Update the [codemagic.yaml](./codemagic.yaml) file with your desired configuration.
Replace the `BUNDLE_ID` with your app's bundle identifier.
```yaml
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.
```yaml
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.
```yaml
APP_STORE_APPLE_ID: 0000000000 # Replace with your app store apple id
```5. If you've set up your signing certificate and provisioning profile, you can now build your app on Codemagic and publish to Test Flight. ✨