Skip to content

Deployment Target

Simple Fastlane util for extracting the deployment target from your .pbxproj file.

Don't forget the import!

fastlane_require 'fastlane-plugin-apadmi_grout'

Call the action.

deployment_target = get_deployment_target

Specify Params

You can also specify the path to the project file, target and configuration if needed. (Note these are all optional)

deployment_target = get_deployment_target(
    xcodeproj_path_or_dir: "path/to/my/project", # Can be the path to the file or the directory
    target: "app",
    configuration: "Debug"
)

Yard Reference

Back to top