Skip to content

Instantly share code, notes, and snippets.

@d-srd
Created January 22, 2019 10:58
Show Gist options
  • Save d-srd/5d7f90a9d636e677ad7bc6d5ea4b7ced to your computer and use it in GitHub Desktop.
Save d-srd/5d7f90a9d636e677ad7bc6d5ea4b7ced to your computer and use it in GitHub Desktop.
# sample fastlane lanes
lane :provision do
match(
git_url: "git@bitbucket.org:agitrepo.git",
type: "development",
username: "username",
force_for_new_devices: true,
clone_branch_directly: true,
app_identifier: "com.company.identity",
readonly: true
)
end
lane :test do
run_tests(scheme: "test_scheme")
end
lane :build do
gym(
workspace: "app.xcworkspace",
scheme: "scheme",
include_symbols: true,
export_method: "development",
archive_path: "archive",
export_options: {
iCloudContainerEnvironment: "Development",
provisioningProfiles: {
"com.company.identity" => "match Development com.company.identity"
}
}
)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment