瀏覽代碼

ios: add initial Fastlane integration

Used for building and deploying builds to TestFlight and the App Store.
j8
Saúl Ibarra Corretgé 6 年之前
父節點
當前提交
c203a452f7
共有 4 個檔案被更改,包括 62 行新增0 行删除
  1. 1
    0
      .gitignore
  2. 4
    0
      ios/fastlane/Appfile
  3. 28
    0
      ios/fastlane/Fastfile
  4. 29
    0
      ios/fastlane/README.md

+ 1
- 0
.gitignore 查看文件

@@ -35,6 +35,7 @@ xcuserdata
35 35
 DerivedData
36 36
 *.hmap
37 37
 *.ipa
38
+*.dSYM.zip
38 39
 *.xcuserstate
39 40
 project.xcworkspace
40 41
 

+ 4
- 0
ios/fastlane/Appfile 查看文件

@@ -0,0 +1,4 @@
1
+app_identifier("com.atlassian.JitsiMeet.ios") # The bundle identifier of your app
2
+itc_team_id("304592") # App Store Connect Team ID
3
+team_id("FC967L3QRG") # Developer Portal Team ID
4
+

+ 28
- 0
ios/fastlane/Fastfile 查看文件

@@ -0,0 +1,28 @@
1
+default_platform(:ios)
2
+
3
+platform :ios do
4
+  desc "Push a new beta build to TestFlight"
5
+  lane :beta do
6
+    # Set the app identifier
7
+    update_app_identifier(
8
+      xcodeproj: "app/app.xcodeproj",
9
+      plist_path: "src/Info.plist",
10
+      app_identifier: "com.atlassian.JitsiMeet.ios"
11
+    )
12
+
13
+    # Inrement the build number by 1
14
+    increment_build_number(
15
+      build_number: latest_testflight_build_number + 1,
16
+      xcodeproj: "app/app.xcodeproj"
17
+    )
18
+
19
+    # Actually build the app
20
+    build_app(scheme: "jitsi-meet", include_bitcode: false)
21
+
22
+    # Upload the build to TestFlight (but don't distribute it)
23
+    upload_to_testflight(skip_submission: true, skip_waiting_for_build_processing: true)
24
+
25
+    # Cleanup
26
+    clean_build_artifacts
27
+  end
28
+end

+ 29
- 0
ios/fastlane/README.md 查看文件

@@ -0,0 +1,29 @@
1
+fastlane documentation
2
+================
3
+# Installation
4
+
5
+Make sure you have the latest version of the Xcode command line tools installed:
6
+
7
+```
8
+xcode-select --install
9
+```
10
+
11
+Install _fastlane_ using
12
+```
13
+[sudo] gem install fastlane -NV
14
+```
15
+or alternatively using `brew cask install fastlane`
16
+
17
+# Available Actions
18
+## iOS
19
+### ios beta
20
+```
21
+fastlane ios beta
22
+```
23
+Push a new beta build to TestFlight
24
+
25
+----
26
+
27
+This README.md is auto-generated and will be re-generated every time [fastlane](https://fastlane.tools) is run.
28
+More information about fastlane can be found on [fastlane.tools](https://fastlane.tools).
29
+The documentation of fastlane can be found on [docs.fastlane.tools](https://docs.fastlane.tools).

Loading…
取消
儲存