6177214e-ce7c-49e3-99de-ff9721b26f63 — Commit 5a519106
Changed files
azure/templates/build-ios.yml | 6 +++++- azure/templates/env-vars.yml | 7 +++++++ comwell_key_app/ios/ExportOptions.plist | 6 +++--- comwell_key_app/ios/ExportOptionsStage.plist | 23 +++++++++++++++++++++++ comwell_key_app/ios/ExportOptionsTest.plist | 23 +++++++++++++++++++++++ 5 files changed, 61 insertions(+), 4 deletions(-)
Diff
diff --git a/azure/templates/build-ios.yml b/azure/templates/build-ios.yml
index 322e6c84..fc2a095a 100644
--- a/azure/templates/build-ios.yml
+++ b/azure/templates/build-ios.yml
@@ -7,6 +7,10 @@ parameters:
- production
- staging
- develop
+- name: exportOptionsPlistPath
+ displayName: ExportOptions.plist path
+ type: string
+ default: comwell_key_app/ios/ExportOptions.plist
steps:
- template: download-env.yml
@@ -60,7 +64,7 @@ steps:
debugMode: false
profileMode: false
iosCodesign: true
- extraArgs: '--export-options-plist=$(Build.SourcesDirectory)/comwell_key_app/ios/ExportOptions.plist'
+ extraArgs: '--export-options-plist=$(Build.SourcesDirectory)/comwell_key_app/ios/$(iosExportOptionsPlist)'
- script: ls -lR comwell_key_app/build/ios/ipa
displayName: 'List IPA output directory'
diff --git a/azure/templates/env-vars.yml b/azure/templates/env-vars.yml
index 6e1efc48..abc5aee9 100644
--- a/azure/templates/env-vars.yml
+++ b/azure/templates/env-vars.yml
@@ -54,6 +54,13 @@ variables:
value: 'Release-Stage'
${{ if eq(parameters.env, 'develop') }}:
value: 'Release-releasetest'
+ - name: iosExportOptionsPlist
+ ${{ if eq(parameters.env, 'production') }}:
+ value: 'ExportOptions.plist'
+ ${{ if eq(parameters.env, 'staging') }}:
+ value: 'ExportOptionsStage.plist'
+ ${{ if eq(parameters.env, 'develop') }}:
+ value: 'ExportOptionsTest.plist'
# Android
- name: androidAABPath
${{ if eq(parameters.env, 'production') }}:
diff --git a/comwell_key_app/ios/ExportOptions.plist b/comwell_key_app/ios/ExportOptions.plist
index 2a5a12d3..4af43694 100644
--- a/comwell_key_app/ios/ExportOptions.plist
+++ b/comwell_key_app/ios/ExportOptions.plist
@@ -5,13 +5,13 @@
<key>method</key>
<string>app-store</string>
<key>teamID</key>
- <string>8RNV6AX4ZL</string> <!-- Replace with your actual Team ID if different -->
+ <string>8RNV6AX4ZL</string>
<key>signingStyle</key>
<string>manual</string>
<key>provisioningProfiles</key>
<dict>
- <key>com.comwell.phoenix.stage</key>
- <string>CP Stage</string> <!-- Replace with your actual profile name -->
+ <key>com.comwell.phoenix</key>
+ <string>CP Prod</string>
</dict>
<key>signingCertificate</key>
<string>Apple Distribution</string>
diff --git a/comwell_key_app/ios/ExportOptionsStage.plist b/comwell_key_app/ios/ExportOptionsStage.plist
new file mode 100644
index 00000000..2a5a12d3
--- /dev/null
+++ b/comwell_key_app/ios/ExportOptionsStage.plist
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>method</key>
+ <string>app-store</string>
+ <key>teamID</key>
+ <string>8RNV6AX4ZL</string> <!-- Replace with your actual Team ID if different -->
+ <key>signingStyle</key>
+ <string>manual</string>
+ <key>provisioningProfiles</key>
+ <dict>
+ <key>com.comwell.phoenix.stage</key>
+ <string>CP Stage</string> <!-- Replace with your actual profile name -->
+ </dict>
+ <key>signingCertificate</key>
+ <string>Apple Distribution</string>
+ <key>stripSwiftSymbols</key>
+ <true/>
+ <key>compileBitcode</key>
+ <true/>
+</dict>
+</plist>
\ No newline at end of file
diff --git a/comwell_key_app/ios/ExportOptionsTest.plist b/comwell_key_app/ios/ExportOptionsTest.plist
new file mode 100644
index 00000000..15508ca2
--- /dev/null
+++ b/comwell_key_app/ios/ExportOptionsTest.plist
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>method</key>
+ <string>app-store</string>
+ <key>teamID</key>
+ <string>8RNV6AX4ZL</string> <!-- Replace with your actual Team ID if different -->
+ <key>signingStyle</key>
+ <string>manual</string>
+ <key>provisioningProfiles</key>
+ <dict>
+ <key>com.comwell.phoenix.test</key>
+ <string>CP Test</string> <!-- Replace with your actual profile name -->
+ </dict>
+ <key>signingCertificate</key>
+ <string>Apple Distribution</string>
+ <key>stripSwiftSymbols</key>
+ <true/>
+ <key>compileBitcode</key>
+ <true/>
+</dict>
+</plist>
\ No newline at end of file