iOS Development

ios – Flutter Pipeline in Azure DevOps (Activity Xcode construct IPA)

I’m making an attempt to construct my flutter iOS App.

I’m working an azure DevOps pipeline that builds app ios .ipa. Strive varied strategies I discovered on the web
I did the steps of the official documentation and different examples discovered and I’ve this error.
Sorry for my English.

  vmImage: macOS-latest


- stage: iOSStage
  dependsOn: []
  displayName: iOS
  - job: iOSJob
    displayName: iOS

    - job: InstallAppleCertificate@2
        certSecureFile: 'Certificates.p12'
        certPwd: '$(p12_pass)'
        keychain: 'temp'

    - job: InstallAppleProvisioningProfile@1
      displayName: Set up provisioning file
      title: ProvisionProfile
        provisioningProfileLocation: 'secureFiles'
        provProfileSecureFile: 'Ad_Hoc_distribution_provisioning_profile.mobileprovision'

    - job: FlutterInstall@0
          mode: 'auto'
          channel: 'secure'
          model: '{custom}'
          customVersion: '3.0.5'

    - job: FlutterCommand@0
        projectDirectory: './ios'
        flutterDirectory: './ios'
        arguments: 'clear'

    - job: FlutterCommand@0
        projectDirectory: './ios'
        arguments: 'pub get'

    - job: CocoaPods@0
        forceRepoUpdate: false
        workingDirectory: ./ios
        projectDirectory: ./ios

    - job: FlutterBuild@0
      displayName: "Flutter Construct Apps - iOS"
          goal: "ios"
          buildName: "$(Construct.BuildNumber)"
          iosCodesign: true
          iosTargetPlatform: simulator
          buildFlavour: qa
          extraArgs: --flavor $(buildFlavourtype)
          exportOptionsPlist: ./ios/Flutter/AppFrameworkInfo.plist
          debugMode: true[enter image description here][1]

    - job: Xcode@5
        actions: 'clear'
        packageApp: true
        xcWorkspacePath: './ios/Runner.xcworkspace'
        signingOption: guide
        sdk: $(SDK)
        configuration: "launch"
        scheme: $(buildFlavourtype)
        provisioningProfileUuid: $(APPLE_PROV_PROFILE_UUID)
        TeamId: $(TeamId)
        exportOptionsPlist: ./ios/Flutter/AppFrameworkInfo.plist        #'./ios/Runner/Information.plist'
        exportOptions: ./ios/Flutter/AppFrameworkInfo.plist

    - job: CopyFiles@2
      displayName: "Copy app to staging listing"
        sourceFolder: '$(Agent.BuildDirectory)'
        contents: '**/ipa/*.ipa'
        targetFolder: '$(Construct.StagingDirectory)'
        flattenFolders: true

    - job: PublishBuildArtifacts@1
      displayName: "Publish IPA file"
        PathtoPublish: '$(Construct.ArtifactStagingDirectory)'
        ArtifactName: 'IPA'
        publishLocation: 'Container'

And the failing Xcode archive job:

Activity Xcode construct

- job: FlutterCommand@0
        projectDirectory: '.'
        arguments: 'construct ipa --release --build-name=1.0 --build-number 1 --export-options-plist=./ios/Flutter/AppFrameworkInfo.plist --target=lib/main_qa.dart --flavor qa '

Flutter construct ipa


 - job: FlutterBuild@0
      displayName: "Flutter Construct Apps - iOS"
          goal: "ipa"
          buildName: "$(Construct.BuildNumber)"
          entryPoint: "$(buildtype)"
          iosCodesign: true
          iosTargetPlatform: simulator
          buildFlavour: qa
          extraArgs: --flavor $(buildFlavourtype)
          exportOptionsPlist: ./ios/Flutter/AppFrameworkInfo.plist
          debugMode: true

code construct


title: XXX
description: XXX

# The next line prevents the bundle from being by accident revealed to
# utilizing `flutter pub publish`. That is most well-liked for personal packages.
publish_to: 'none' # Take away this line if you happen to want to publish to

# The next defines the model and construct quantity in your utility.
# A model quantity is three numbers separated by dots, like 1.2.43
# adopted by an elective construct quantity separated by a +.
# Each the model and the builder quantity could also be overridden in flutter
# construct by specifying --build-name and --build-number, respectively.
# In Android, build-name is used as versionName whereas build-number used as versionCode.
# Learn extra about Android versioning at
# In iOS, build-name is used as CFBundleShortVersionString whereas build-number used as CFBundleVersion.
# Learn extra about iOS versioning at
model: 1.0.0+1

  sdk: ">=2.16.2 <3.0.0"

# Dependencies specify different packages that your bundle wants in an effort to work.
# To mechanically improve your bundle dependencies to the most recent variations
# think about working `flutter pub improve --major-versions`. Alternatively,
# dependencies will be manually up to date by altering the model numbers under to
# the most recent model out there on To see which dependencies have newer
# variations out there, run `flutter pub outdated`.
    sdk: flutter
  cupertino_icons: ^1.0.2
  # State managment
  flutter_bloc: ^8.0.1
  bloc: ^8.0.3
  get_it: ^7.2.0
  # Storage
  flutter_secure_storage: ^5.0.2
  shared_preferences: ^2.0.13
  # Utils
  either_dart: ^0.1.4
  dio: ^4.0.6
  equatable: ^2.0.3
    sdk: flutter
  intl: ^0.17.0
  sizer: ^2.0.15
  faker: ^2.0.0
  logger: ^1.1.0
  clipboard: ^0.1.3
  url_launcher: ^6.1.5
  flutter_stripe: ^4.0.0
  flutter_stripe_web: ^1.2.0
  # Widgets
  pinput: ^2.2.7
  intl_phone_field: ^3.1.0
  flutter_platform_widgets: ^1.20.0
  card_swiper: ^2.0.3
  flutter_animation_progress_bar: ^2.1.1
  flutter_countdown_timer: ^4.1.0
  accordion: ^2.3.0
  flutter_svg: ^1.0.3
  flutter_portal: ^1.0.0
  badges: ^2.0.3
  country_icons: ^2.0.2

    sdk: flutter
  flutter_lints: ^1.0.0
  bloc_test: ^9.0.3
  take a look at: ^1.16.0
  flutter_launcher_icons: ^0.9.2

  android: true
  ios: false
  min_sdk_android: 21
  image_path_ios: "belongings/icons/ios_launcher.png"
  adaptive_icon_background: '#000000'
  remove_alpha_ios: true
  image_path: "belongings/icons/icon_launcher.png"

# For data on the generic Dart a part of this file, see the
# following web page:

# The next part is particular to Flutter.

  # The next line ensures that the Materials Icons font is
  # included together with your utility, with the intention to use the icons in
  # the fabric Icons class.
  uses-material-design: true
  generate: true

  # So as to add belongings to your utility, add an belongings part, like this:
    - belongings/
    - belongings/icons/
    - belongings/helmets/

  # A picture asset can check with a number of resolution-specific "variants", see

  # For particulars relating to including belongings from bundle dependencies, see

  # So as to add {custom} fonts to your utility, add a fonts part right here,
  # on this "flutter" part. Every entry on this listing ought to have a
  # "household" key with the font household title, and a "fonts" key with a
  # listing giving the asset and different descriptors for the font. For
  # instance:
  # fonts:
  #   - household: Schyler
  #     fonts:
  #       - asset: fonts/Schyler-Common.ttf
  #       - asset: fonts/Schyler-Italic.ttf
  #         fashion: italic
  #   - household: Trajan Professional
  #     fonts:
  #       - asset: fonts/TrajanPro.ttf
  #       - asset: fonts/TrajanPro_Bold.ttf
  #         weight: 700
  # For particulars relating to fonts from bundle dependencies,
  # see

What's your reaction?

Leave A Reply

Your email address will not be published.