6177214e-ce7c-49e3-99de-ff9721b26f63 — Commit 29e888d9
Changed files
azure/templates/build-ios.yml | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-)
Diff
diff --git a/azure/templates/build-ios.yml b/azure/templates/build-ios.yml
index d5d13f08..8634e5fc 100644
--- a/azure/templates/build-ios.yml
+++ b/azure/templates/build-ios.yml
@@ -23,7 +23,7 @@ steps:
- task: InstallAppleCertificate@2
displayName: Install certificate
inputs:
- certSecureFile: 'comwell_certifkat.p12'
+ certSecureFile: 'comwell_as.p12'
certPwd: '$(cert_pw)' # Assuming cppwd is a parameter or pipeline variable
keychain: 'temp'
@@ -67,12 +67,31 @@ steps:
displayName: "Build application"
inputs:
buildNumber: "$(Build.BuildId)"
- target: "ipa"
+ target: "ios"
buildFlavour: $(flavor)
debugMode: false
profileMode: false
+ iosCodesign: false
projectDirectory: "$(Build.SourcesDirectory)/comwell_key_app"
+- task: Xcode@5
+ displayName: "Archive app"
+ inputs:
+ actions: "archive"
+ scheme: "$(iosScheme)" # Make sure to use the correct scheme that includes the custom XCFramework
+ configuration: "$(iosConfiguration)"
+ sdk: "iphoneos"
+ xcWorkspacePath: "$(Build.SourcesDirectory)/comwell_key_app/ios/Runner.xcworkspace"
+ xcodeVersion: "specifyPath"
+ xcodeDeveloperDir: '/Applications/Xcode_16.2.app/Contents/Developer'
+ exportPath: 'output'
+ packageApp: true
+ teamId: '8RNV6AX4ZL'
+ signingOption: "manual"
+ signingIdentity: "$(APPLE_CERTIFICATE_SIGNING_IDENTITY)"
+ provisioningProfileUuid: "$(APPLE_PROV_PROFILE_UUID)"
+
+
- task: AppStoreRelease@1
inputs:
releaseTrack: 'TestFlight'