'Flutter - iOS build using Bitrise

I am using Bitrise to generate iOS build of my flutter project. I have follow this steps to configure workflow. It shows me error like this. enter image description here. Can you please guide what's wrong here and how to fix this error.



Solution 1:[1]

In the xcode-archive step, these values are pre-configured as environment variables. You need to add these variables either in Bitrise UI or bitrise.yml file:

app:
 envs:
- opts:
    is_expand: false
  BITRISE_FLUTTER_PROJECT_LOCATION: "."
- opts:
    is_expand: false
  BITRISE_IOS_LOCATION: ios/Runner.xcworkspace
- opts:
    is_expand: false
  BITRISE_SCHEME: Runner

Solution 2:[2]

For above error we can edit input variables in "Xcode Archive & Export for iOS" step and give proper path of your xcworkspace and name of your schema.

Check below image for reference

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Michiel
Solution 2 Khyati Modi