Skip to content

update_app_identifier

Community Action Reference: Inspected directly from Fastlane core ruby gem definitions.

Supported Platforms: ios

Update the project’s bundle identifier

Details

Update an app identifier by either setting CFBundleIdentifier or PRODUCT_BUNDLE_IDENTIFIER, depending on which is already in use.

Parameters & Options

Total options available: 3

Key Type Env Variable Default Required Description
xcodeproj String FL_UPDATE_APP_IDENTIFIER_PROJECT_PATH - Yes Path to your Xcode project
plist_path String FL_UPDATE_APP_IDENTIFIER_PLIST_PATH - Yes Path to info plist, relative to your Xcode project
app_identifier String FL_UPDATE_APP_IDENTIFIER - Yes The app Identifier you want to set

Examples

update_app_identifier(
xcodeproj: "Example.xcodeproj", # Optional path to xcodeproj, will use the first .xcodeproj if not set
plist_path: "Example/Info.plist", # Path to info plist file, relative to xcodeproj
app_identifier: "com.test.example" # The App Identifier
)

Source & Upstream