Skip to content

Instantly share code, notes, and snippets.

@thiagolioy
Created February 8, 2020 14:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thiagolioy/ffbbb646a4242278cfe2822d8ba9e2f0 to your computer and use it in GitHub Desktop.
Save thiagolioy/ffbbb646a4242278cfe2822d8ba9e2f0 to your computer and use it in GitHub Desktop.
Fastfile Example
default_platform(:ios)
platform :ios do
desc "Description of what the lane does"
lane :test do
scan(scheme: "SleeveRoll")
end
lane :build do
match(
app_identifier: MY_APP_ID,
type: "appstore",
readonly: true
)
settings_to_override = {
:BUNDLE_IDENTIFIER => MY_APP_ID,
:PROVISIONING_PROFILE_SPECIFIER => MY_PROFILE
}
gym(
scheme: "SleeveRoll",
xcargs: settings_to_override,
export_method: "app-store",
export_options: {
provisioningProfiles: {
MY_APP_ID => MY_PROFILE
}
}
)
end
lane :beta do
cocoapods
test
build
upload_to_testflight(
username: APPLE_ID,
apple_id: APP_APPLE_ID,
app_identifier: MY_APP_ID,
skip_submission: true,
skip_waiting_for_build_processing: true
)
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment