update_project_provisioning

Update projects code signing settings from your provisioning profile

You should check out the code signing gide before using this action: https://docs.fastlane.tools/codesigning/getting-started/ This action retrieves a provisioning profile UUID from a provisioning profile (.mobileprovision) to set up the xcode projects' code signing settings in .xcodeproj/project.pbxproj The target_filter value can be used to only update code signing for specified targets The build_configuration value can be used to only update code signing for specified build configurations of the targets passing through the target_filter Example Usage is the WatchKit Extension or WatchKit App, where you need separate provisioning profiles Example: `update_project_provisioning(xcodeproj: "..", target_filter: ".WatchKit App.*")

update_project_provisioning
Supported platforms ios, mac
Author @tobiasstrebitzer, @czechboy0

1 Example

update_project_provisioning(
  xcodeproj: "Project.xcodeproj",
  profile: "./watch_app_store.mobileprovision", # optional if you use sigh
  target_filter: ".*WatchKit Extension.*", # matches name or type of a target
  build_configuration: "Release"
)

Parameters

Key Description
xcodeproj Path to your Xcode project
profile Path to provisioning profile (.mobileprovision)
target_filter A filter for the target name. Use a standard regex
build_configuration_filter Legacy option, use 'target_filter' instead
build_configuration A filter for the build configuration name. Use a standard regex. Applied to all configurations if not specified
certificate Path to apple root certificate


To show the documentation in your terminal, run

fastlane action update_project_provisioning

View source code


Back to actions