Skip to content

Instantly share code, notes, and snippets.

@xr1337
Last active May 15, 2024 01:17
Show Gist options
  • Save xr1337/9e79aabeba096c675a1ebde2ee543bfb to your computer and use it in GitHub Desktop.
Save xr1337/9e79aabeba096c675a1ebde2ee543bfb to your computer and use it in GitHub Desktop.
Fastlane submit review
desc "Submit current app to appstore"
lane :submit_for_review do
# load appstore connect api key with app_store_connect_api_key()
api_key_load
# get the latest testflight build number
ios_build_number = latest_testflight_build_number(platform: "ios")
# Read local Appversion version that was updated ( Or get it from parsing xcconfig )
local_version = get_version_number(
xcodeproj: "AutoScroller.xcodeproj",
target: "AutoScroller")
# submit build for review with 7 day phased release
deliver(
platform: "ios",
build_number: "#{ios_build_number}",
app_version: local_version,
skip_app_version_update: true,
submit_for_review: true,
automatic_release: true,
phased_release: true,
force: true, # Skip HTMl report verification
metadata_path: "./fastlane/metadata",
skip_screenshots: true,
run_precheck_before_submit: false,
skip_binary_upload: true,
submission_information: {
add_id_info_uses_idfa: false,
add_id_info_serves_ads: false,
add_id_info_tracks_install: true,
add_id_info_tracks_action: true,
add_id_info_limits_tracking: true,
export_compliance_uses_encryption: false,
export_compliance_is_exempt: false,
export_compliance_compliance_required: false,
export_compliance_encryption_updated: false,
export_compliance_app_type: nil,
export_compliance_contains_third_party_cryptography: false,
export_compliance_contains_proprietary_cryptography: false,
export_compliance_available_on_french_store: false
}
)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment