- Create an App ID in the Apple Developer portal
- Add a new App on App Store Connect (may need to wait for App ID to be available)
- In you xcode project make sure Automatic code signing is checked and a development team is chosen
cd ios/ && fastlane init
- When you are ready:
fastlane beta
default_platform(:ios)
platform :ios do
desc "Push a new beta build to TestFlight"
lane :beta do
get_certificates # invokes cert
get_provisioning_profile # invokes sigh
increment_build_number(xcodeproj: "myapp.xcodeproj")
build_app(workspace: "myapp.xcworkspace", scheme: "myapp", export_xcargs: "-allowProvisioningUpdates")
upload_to_testflight
end
end