6177214e-ce7c-49e3-99de-ff9721b26f63 — Commit 35b84aa6
Changed files
azure/templates/build-ios.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-)
Diff
diff --git a/azure/templates/build-ios.yml b/azure/templates/build-ios.yml
index 90b1e1fc..3b078822 100644
--- a/azure/templates/build-ios.yml
+++ b/azure/templates/build-ios.yml
@@ -79,10 +79,21 @@ steps:
displayName: "Copy SeosMobileKeysSDK framework to Xcode project"
inputs:
sourceFolder: '$(Build.SourcesDirectory)/mobilekeys_sdk_plugin/XCFrameworks/'
- contents: 'SeosMobileKeysSDK.xcframework/**'
+ contents: 'SeosMobileKeysSDK.xcframework'
targetFolder: '$(Build.SourcesDirectory)/comwell_key_app/ios/Frameworks/'
flattenFolders: true
+ - task: Bash@3
+ displayName: "Ensure SeosMobileKeysSDK is linked"
+ 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
+
# Ensure the custom XCFramework is added to the Xcode project
- task: Xcode@5
displayName: "Integrate XCFramework into Xcode project"
@@ -96,6 +107,7 @@ steps:
packageApp: false
args: |
-disableBasedOnDependencyAnalysis
+ SWIFT_INCLUDE_PATHS="$(Build.SourcesDirectory)/comwell_key_app/ios/Frameworks/SeosMobileKeysSDK.xcframework"
FRAMEWORK_SEARCH_PATHS="$(Build.SourcesDirectory)/comwell_key_app/ios/Frameworks"
# Build the iOS application