fastlane-plugin-flutter_version: Syntax Error: There is this problem while running the fastlane LANE command

[12:10:49]:     34:         end
[12:10:49]:     35:         lane :dev do
[12:10:49]:  => 36:             Dir.chdir "../.." {sh("flutter", "build", "ios", "--release", "--no-codesign")}
[12:10:49]:     37:             increment_version_number(
[12:10:49]:     38:                 xcodeproj: "Runner.xcodeproj",

[!] Syntax error in your Fastfile on line 36: Fastfile:36: syntax error, unexpected '{', expecting end
        Dir.chdir "../.." {sh("flutter", "build", "ios",...
                          ^
Fastfile:36: syntax error, unexpected '}', expecting end
... "--release", "--no-codesign")}
...                              ^
Fastfile:56: syntax error, unexpected end, expecting end-of-input
    end
    ^~~

Looks like this one is not Dir.chdir "../.." {sh("flutter", "build", "ios", "--release", "--no-codesign")} appropriate . Please help as soon as possible.

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 16 (15 by maintainers)

Most upvoted comments

The update has been merged!

Thanks @RtypeStudios for the quick response!

Thanks @ch-muhammad-adil for updating the docs!