kaandedeoglu / Shark

Swift CLI for strong-typing images, colors, storyboards, fonts and localizations
MIT License
381 stars 15 forks source link

Build error: The operation couldn’t be completed. (Utility.ArgumentParserError error 3.) #10

Closed ghost closed 5 years ago

ghost commented 5 years ago

I have installed Shark using Homebrew.

Build script is

if [ -x "$(command -v shark)" ]; then
    shark $PROJECT_FILE_PATH $PROJECT_DIR/$PROJECT_NAME
else
    echo "error: shark not installed, run command brew install kaandedeoglu/formulae/shark"
fi
ghost commented 5 years ago

changing

shark $PROJECT_FILE_PATH $PROJECT_DIR/$PROJECT_NAME

to

shark "$PROJECT_FILE_PATH" "$PROJECT_DIR/$PROJECT_NAME"

fixes the issue.

Please update the README.