fastlane-plugin-xcodegen icon indicating copy to clipboard operation
fastlane-plugin-xcodegen copied to clipboard

Unable to run `mint run mint run xcodegen`

Open uhooi opened this issue 3 years ago • 0 comments

Issue

Unable to run mint run mint run xcodegen .

Fastfile

xcodegen(executable: "mint run mint run xcodegen", spec: "foo.yml")

Output

[18:09:27]: ----------------------
[18:09:27]: --- Step: xcodegen ---
[18:09:27]: ----------------------
[18:09:27]: $ mint\ run\ mint\ run\ xcodegen --spec /Users/uhooi/.../foo.yml
[18:09:27]: -------------------
[18:09:27]: --- Step: is_ci ---
[18:09:27]: -------------------
+-----------------------------------+----------------------------+
|                          Lane Context                          |
+-----------------------------------+----------------------------+
| DEFAULT_PLATFORM                  | ios                        |
| PLATFORM_NAME                     | ios                        |
| LANE_NAME                         | ios setup                  |
| GET_INFO_PLIST_VALUE_CUSTOM_VALUE | $(CURRENT_PROJECT_VERSION) |
+-----------------------------------+----------------------------+
[18:09:27]: No such file or directory - mint run mint run xcodegen

Reason

Because of the escaped spaces.

# NG
$ mint\ run\ mint\ run\ xcodegen --spec /Users/uhooi/.../foo.yml
-bash: mint run mint run xcodegen: command not found

# OK
$ mint run mint run xcodegen --spec /Users/uhooi/.../foo.yml

Is there any way to avoid escaping spaces?

uhooi avatar Jul 14 '22 09:07 uhooi