Skip to content

Instantly share code, notes, and snippets.

@jaysephjw
Created March 28, 2019 20:51
Show Gist options
  • Save jaysephjw/7aaffb8038fe1e7e101a3785229eca2d to your computer and use it in GitHub Desktop.
Save jaysephjw/7aaffb8038fe1e7e101a3785229eca2d to your computer and use it in GitHub Desktop.
Fastlane Flutter iOS TestFlight -- build flutter first
platform :ios do
desc "Push a new beta build to TestFlight"
lane :beta do
# Build once with flutter to generate needed flutter files
sh "cd ../.. && flutter build ios --release"
# Now build the app as usual
build_app(workspace: "Runner.xcworkspace", scheme: "Runner")
upload_to_testflight
end
lane :bump do
increment_build_number
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment