6177214e-ce7c-49e3-99de-ff9721b26f63 — Commit 9ba509c1
Changed files
azure/templates/build-ios.yml | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-)
Diff
diff --git a/azure/templates/build-ios.yml b/azure/templates/build-ios.yml
index cc2c12c6..78b1e260 100644
--- a/azure/templates/build-ios.yml
+++ b/azure/templates/build-ios.yml
@@ -42,11 +42,29 @@ steps:
script: |
flutter config --enable-swift-package-manager
+# Copy SeosMobileKeysSDK to the Xcode project directory
+- task: CopyFiles@2
+ displayName: "Copy SeosMobileKeysSDK framework to Xcode project"
+ inputs:
+ sourceFolder: '$(Build.SourcesDirectory)/mobilekeys_sdk_plugin/XCFrameworks/'
+ contents: 'SeosMobileKeysSDK.xcframework/**'
+ targetFolder: '$(Build.SourcesDirectory)/comwell_key_app/ios/Frameworks/'
+ flattenFolders: false
+
+- task: FlutterBuild@0
+ displayName: "Build application"
+ inputs:
+ buildNumber: "$(Build.BuildId)"
+ target: "ios"
+ buildFlavour: $(flavor)
+ iosCodesign: false
+ projectDirectory: "$(Build.SourcesDirectory)/comwell_key_app"
+
# Ensure the custom XCFramework is added to the Xcode project
- task: Xcode@5
displayName: "Integrate XCFramework into Xcode project"
inputs:
- actions: "build"
+ actions: "archive"
scheme: "$(iosScheme)" # Make sure to use the correct scheme that includes the custom XCFramework
configuration: "$(iosConfiguration)"
sdk: "iphoneos"