6177214e-ce7c-49e3-99de-ff9721b26f63 — Commit a1e2e56a

AuthorJakob Højgård<141220340+jaxthedwarf@users.noreply.github.com>
Date2024-08-20 09:43:41 +0200
Update build-ios.yml for Azure Pipelines

Changed files

azure/templates/build-ios.yml | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)

Diff

diff --git a/azure/templates/build-ios.yml b/azure/templates/build-ios.yml
index a9487d19..701243b4 100644
--- a/azure/templates/build-ios.yml
+++ b/azure/templates/build-ios.yml
@@ -64,7 +64,19 @@ steps:
flutter pub get
cd $(Build.SourcesDirectory)/comwell_key_app/ios
pod install
-
+ - task: Xcode@5
+ displayName: "Code Sign ipa for Distribution"
+ inputs:
+ actions: "build"
+ scheme: "Runner"
+ sdk: "$(sdk)"
+ configuration: "$(configuration)"
+ xcWorkspacePath: "ios/Runner.xcworkspace"
+ xcodeVersion: "default"
+ packageApp: true
+ signingOption: "manual"
+ signingIdentity: "$(APPLE_CERTIFICATE_SIGNING_IDENTITY)"
+ provisioningProfileUuid: "$(APPLE_PROV_PROFILE_UUID)"
# Build the iOS application
- task: FlutterBuild@0
displayName: "Build application"
@@ -74,6 +86,7 @@ steps:
buildFlavour: 'releasetest' # Using the 'flavor' parameter
projectDirectory: '$(Build.SourcesDirectory)/comwell_key_app'
+
# Uncomment to run unit tests
# - task: FlutterTest@0
# displayName: "Run unit tests"