Create Apps
create_apps
Create release and beta apps in developer portal & ITC.
bundle exec fastlane create_apps
Options
| Option | Type | Description |
|---|---|---|
skip_release_app |
Boolean | If true, it will create only BETA app |
company_name |
String | Company name for the app. Is needed for the creation of the first app in new account |
Details
What it creates
| Configuration | Bundle ID | App Name | App Store Connect |
|---|---|---|---|
| Debug | APP_IDENTIFIER |
APP_NAME |
Identifier only (skip ITC) |
| Beta | APP_IDENTIFIER.beta |
APP_NAME BETA |
Identifier + ITC app |
| Release | APP_IDENTIFIER_CUSTOMER or APP_IDENTIFIER |
APP_NAME |
Identifier + ITC app |
Note
The Debug app identifier is only created when APP_IDENTIFIER_CUSTOMER is set or skip_release_app is true. Otherwise, the Release identifier serves as the Debug identifier as well.
create_apps_for_extension
Create release and beta apps of given type in developer portal.
bundle exec fastlane create_apps_for_extension
Options
| Option | Type | Description |
|---|---|---|
skip_release_app |
Boolean | If true, it will create only BETA app |
Environment Variables
| Variable |
|---|
APP_EXTENSIONS |
Details
What it creates
For each extension in APP_EXTENSIONS, it creates identifiers following the same pattern as create_apps:
| Configuration | Bundle ID |
|---|---|
| Debug | APP_IDENTIFIER.{extension} |
| Beta | APP_IDENTIFIER.beta.{extension} |
| Release | APP_IDENTIFIER_CUSTOMER.{extension} or APP_IDENTIFIER.{extension} |
Example
Set APP_EXTENSIONS in your project's Fastfile:
ENV["APP_EXTENSIONS"] = "widget,notification-service"
Then run:
bundle exec fastlane create_apps_for_extension
This creates identifiers for both widget and notification-service extensions across Debug, Beta, and Release configurations.