6177214e-ce7c-49e3-99de-ff9721b26f63 — Commit 00e4cf13
Changed files
azure/templates/build-ios.yml | 9 +++++++++ 1 file changed, 9 insertions(+)
Diff
diff --git a/azure/templates/build-ios.yml b/azure/templates/build-ios.yml
index 85873b15..cf752657 100644
--- a/azure/templates/build-ios.yml
+++ b/azure/templates/build-ios.yml
@@ -75,6 +75,15 @@ steps:
flattenFolders: true
# Build the iOS application
# Generate the iOS project files using Flutter with the specified flavor
+ # Ensure the Framework Search Path is set correctly
+ - task: Bash@3
+ displayName: "Set Framework Search Path"
+ inputs:
+ targetType: 'inline'
+ script: |
+ plutil -replace 'TARGETED_DEVICE_FAMILY' -string '1,2' $(Build.SourcesDirectory)/comwell_key_app/ios/Runner.xcodeproj/project.pbxproj
+ plutil -replace 'FRAMEWORK_SEARCH_PATHS' -string '"$(PROJECT_DIR)/Frameworks"' $(Build.SourcesDirectory)/comwell_key_app/ios/Runner.xcodeproj/project.pbxproj
+
- task: FlutterCommand@0
displayName: "Build Flutter iOS project"
inputs: