6177214e-ce7c-49e3-99de-ff9721b26f63 — Commit 6d5eb0f5
Changed files
azure/templates/build-ios.yml | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-)
Diff
diff --git a/azure/templates/build-ios.yml b/azure/templates/build-ios.yml
index 80d9a362..aec5249d 100644
--- a/azure/templates/build-ios.yml
+++ b/azure/templates/build-ios.yml
@@ -34,31 +34,18 @@ steps:
provisioningProfileLocation: 'secureFiles'
provProfileSecureFile: $(iosProvisionProfileFileName)
-# 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
-
# Add a Run Script phase to ensure the framework is linked
- task: Bash@3
- displayName: "Ensure SeosMobileKeysSDK is linked"
+ displayName: "Flutter SPM"
inputs:
targetType: 'inline'
script: |
- cd $(Build.SourcesDirectory)/comwell_key_app/ios
- if [ ! -d "Frameworks/SeosMobileKeysSDK.xcframework" ]; then
- echo "Error: SeosMobileKeysSDK.xcframework not found!"
- exit 1
- fi
+ flutter config --enable-swift-package-manager
# Install CocoaPods dependencies
- task: CocoaPods@0
inputs:
- workingDirectory: 'ios'
+ workingDirectory: 'comwell_key_app/ios'
forceRepoUpdate: false
- task: FlutterBuild@0