Selaa lähdekoodia

ios: update Fastlane for watchOS app

master
Saúl Ibarra Corretgé 6 vuotta sitten
vanhempi
commit
5ed53dcef5
1 muutettua tiedostoa jossa 30 lisäystä ja 0 poistoa
  1. 30
    0
      ios/fastlane/Fastfile

+ 30
- 0
ios/fastlane/Fastfile Näytä tiedosto

@@ -16,6 +16,36 @@ platform :ios do
16 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 49
     # Inrement the build number by 1
20 50
     increment_build_number(
21 51
       build_number: latest_testflight_build_number + 1,

Loading…
Peruuta
Tallenna