瀏覽代碼

ios: update Fastlane for watchOS app

master
Saúl Ibarra Corretgé 6 年之前
父節點
當前提交
5ed53dcef5
共有 1 個檔案被更改,包括 30 行新增0 行删除
  1. 30
    0
      ios/fastlane/Fastfile

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

16
       app_identifier: "com.atlassian.JitsiMeet.ios"
16
       app_identifier: "com.atlassian.JitsiMeet.ios"
17
     )
17
     )
18
 
18
 
19
+    # Set the (watch) app identifier
20
+    update_app_identifier(
21
+      xcodeproj: "app/app.xcodeproj",
22
+      plist_path: "watchos/app/Info.plist",
23
+      app_identifier: "com.atlassian.JitsiMeet.ios.watchkit"
24
+    )
25
+
26
+    # Set the (watch) extension identifier
27
+    update_app_identifier(
28
+      xcodeproj: "app/app.xcodeproj",
29
+      plist_path: "watchos/extension/Info.plist",
30
+      app_identifier: "com.atlassian.JitsiMeet.ios.watchkit.extension"
31
+    )
32
+
33
+    update_info_plist(
34
+      xcodeproj: "app/app.xcodeproj",
35
+      plist_path: "watchos/app/Info.plist",
36
+      block: proc do |plist|
37
+        plist["WKCompanionAppBundleIdentifier"] = "com.atlassian.JitsiMeet.ios"
38
+      end
39
+    )
40
+
41
+    update_info_plist(
42
+      xcodeproj: "app/app.xcodeproj",
43
+      plist_path: "watchos/extension/Info.plist",
44
+      block: proc do |plist|
45
+        plist["NSExtension"]["NSExtensionAttributes"]["WKAppBundleIdentifier"] = "com.atlassian.JitsiMeet.ios.watchkit"
46
+      end
47
+    )
48
+
19
     # Inrement the build number by 1
49
     # Inrement the build number by 1
20
     increment_build_number(
50
     increment_build_number(
21
       build_number: latest_testflight_build_number + 1,
51
       build_number: latest_testflight_build_number + 1,

Loading…
取消
儲存