Flutter generate iOS artifact

I’m trying to run the Flutter task that will run an iOS build. But it needs to run on MacOS. I already added macos tag, but my builds still runs on Linux. Also I tried to delete the project and recreate, but I don’t see my project at MacOs tab.

I read many time documentation, but I didn’t see a solution. … Ideas ?

version: 2
jobs:
  test:
    macos:
      xcode: "10.2.0"
    docker:
      - image: cirrusci/flutter
    steps:
      - checkout
      - restore_cache:
          key: test-{{ .Environment.CIRCLE_SHA1 }}
      - run:
          name: Tests
          command: flutter test
      - save_cache:
          key: test-{{ .Environment.CIRCLE_SHA1 }}
          paths:
            - ~/test
  build-ios:
    macos:
      xcode: "10.2.0"
    working_directory: ~/code
    docker:
      - image: cirrusci/flutter
    steps:
      - checkout
      - restore_cache:
          key: build-ios-{{ .Environment.CIRCLE_SHA1 }}
      - run:
          name: Get Packages
          command: flutter packages get
      - run:
          name: Generating files
          command: flutter packages pub run build_runner build --delete-conflicting-outputs
      - run:
          name: Assemble IOS
          command: flutter build ios --profile
      - persist_to_workspace:
          root: ~/code/build/ios/
          paths:
            - Profile-iphoneos
      - save_cache:
          key: build-ios-{{ .Environment.CIRCLE_SHA1 }}
          paths:
            - ~/build-ios
  build-android:
    macos:
      xcode: "10.2.0"
    working_directory: ~/code
    docker:
      - image: cirrusci/flutter
    steps:
      - checkout
      - restore_cache:
          key: build-android-{{ .Environment.CIRCLE_SHA1 }}
      - run:
          name: Get Packages
          command: flutter packages get
      - run:
          name: Generating files
          command: flutter packages pub run build_runner build --delete-conflicting-outputs
      - run:
          name: Assemble APK
          command: flutter build apk --profile 
      - persist_to_workspace:
          root: ~/code/build/app/outputs/apk/
          paths:
            - profile
      - save_cache:
          key: build-android-{{ .Environment.CIRCLE_SHA1 }}
          paths:
            - ~/build-android
  app-center-ios:
    macos:
      xcode: "10.2.0"
    working_directory: ~/code
    docker:
      - image: circleci/python:3.6.5
    steps:
      - checkout
      - attach_workspace:
          at: /tmp
      - run:
          name: Config Python Envirionment
          command: |
            sudo /usr/local/bin/python3 -m pip install --upgrade pip
            sudo /usr/local/bin/python3 -m pip install --upgrade requests
      - run:
          name: Upload to AppCenter
          command: python ~/code/app_center.py IOS
  app-center-android:
    macos:
      xcode: "10.2.0"
    working_directory: ~/code
    docker:
      - image: circleci/python:3.6.5
    steps:
      - checkout
      - attach_workspace:
          at: /tmp
      - run:
          name: Config Python Envirionment
          command: |
            sudo /usr/local/bin/python3 -m pip install --upgrade pip
            sudo /usr/local/bin/python3 -m pip install --upgrade requests
      - run:
          name: Upload to AppCenter
          command: python ~/code/app_center.py ANDROID

workflows:
  version: 2
  just-test:
    jobs:
      - test
  generate_ios_profile:
    jobs:
      - build-ios
      - app-center-ios:
          requires:
            - build-ios
          filters:
            branches:
              only: master
  generate_android_profile:
    jobs:
      - build-android
      - app-center-android:
          requires:
            - build-android
          filters:
            branches:
              only: master

Try to remove the docker image command

Hi @felipeespitalher , did you find solution?