Skip to content

Instantly share code, notes, and snippets.

@joshdholtz
Created July 31, 2021 15:13
Show Gist options
  • Save joshdholtz/b06845a994bec4075b67691898fe65ed to your computer and use it in GitHub Desktop.
Save joshdholtz/b06845a994bec4075b67691898fe65ed to your computer and use it in GitHub Desktop.
Fastfile - build, manage provisioning and version/build numbers, and upload to App Store Connect
lane :build_and_upload do
# Build by allowing provisioning updates, auto version and build number management,
# and uploading directly to App Store Connect
#
# Requires: signed in with Apple ID in Xcode
# Radar for using App Store Connect API Key: FB9145847
gym(
xcargs: "-allowProvisioningUpdates",
export_options: {
"destination": "upload",
"signingStyle": "automatic",
"manageAppVersionAndBuildNumber": true
},
skip_profile_detection: "true"
)
end
@joshdholtz
Copy link
Author

@Dast1Woop Yup, that works too!

deliver uses iTMS transporter to upload the binary where using the "destination": "upload" ends up using xcodebuild to upload the binary

In the end its the same and really just personal preference 🤷‍♂️

@Dast1Woop
Copy link

@joshdholtz Got it, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment