Created
July 31, 2021 15:13
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
@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 🤷♂️
@joshdholtz Got it, thank you!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
lane :release do
# match(type: "appstore")
# snapshot
gym(scheme: "MacaoAdminBus-appStore") # Build your app - more options available
deliver(force: true)
# frameit
end
this works too,what is the difference?