diff --git a/.gitignore b/.gitignore index 9fe0eb348..12fc3c2d4 100644 --- a/.gitignore +++ b/.gitignore @@ -35,6 +35,7 @@ xcuserdata DerivedData *.hmap *.ipa +*.dSYM.zip *.xcuserstate project.xcworkspace diff --git a/ios/fastlane/Appfile b/ios/fastlane/Appfile new file mode 100644 index 000000000..53665933b --- /dev/null +++ b/ios/fastlane/Appfile @@ -0,0 +1,4 @@ +app_identifier("com.atlassian.JitsiMeet.ios") # The bundle identifier of your app +itc_team_id("304592") # App Store Connect Team ID +team_id("FC967L3QRG") # Developer Portal Team ID + diff --git a/ios/fastlane/Fastfile b/ios/fastlane/Fastfile new file mode 100644 index 000000000..944e079a0 --- /dev/null +++ b/ios/fastlane/Fastfile @@ -0,0 +1,28 @@ +default_platform(:ios) + +platform :ios do + desc "Push a new beta build to TestFlight" + lane :beta do + # Set the app identifier + update_app_identifier( + xcodeproj: "app/app.xcodeproj", + plist_path: "src/Info.plist", + app_identifier: "com.atlassian.JitsiMeet.ios" + ) + + # Inrement the build number by 1 + increment_build_number( + build_number: latest_testflight_build_number + 1, + xcodeproj: "app/app.xcodeproj" + ) + + # Actually build the app + build_app(scheme: "jitsi-meet", include_bitcode: false) + + # Upload the build to TestFlight (but don't distribute it) + upload_to_testflight(skip_submission: true, skip_waiting_for_build_processing: true) + + # Cleanup + clean_build_artifacts + end +end diff --git a/ios/fastlane/README.md b/ios/fastlane/README.md new file mode 100644 index 000000000..99b6dd4db --- /dev/null +++ b/ios/fastlane/README.md @@ -0,0 +1,29 @@ +fastlane documentation +================ +# Installation + +Make sure you have the latest version of the Xcode command line tools installed: + +``` +xcode-select --install +``` + +Install _fastlane_ using +``` +[sudo] gem install fastlane -NV +``` +or alternatively using `brew cask install fastlane` + +# Available Actions +## iOS +### ios beta +``` +fastlane ios beta +``` +Push a new beta build to TestFlight + +---- + +This README.md is auto-generated and will be re-generated every time [fastlane](https://fastlane.tools) is run. +More information about fastlane can be found on [fastlane.tools](https://fastlane.tools). +The documentation of fastlane can be found on [docs.fastlane.tools](https://docs.fastlane.tools).