xcpretty / xcode-install

🔽 Install and update your Xcodes
https://fastlane.tools
MIT License
2.59k stars 239 forks source link

`xcversion select` fails with error if Xcode.app path contains spaces #354

Closed Elena-OG closed 4 years ago

Elena-OG commented 5 years ago
  1. Rename Xcode.app and add space character or put in folder with space character in name;
  2. Run xcversion select {version};
  3. Error occurs:
    
    $ xcversion select 10.2.1
    xcode-select: error: invalid argument '10.2.1.app'
    Usage: xcode-select [options]

Print or change the path to the active developer directory. This directory controls which tools are used for the Xcode command line tools (for example, xcodebuild) as well as the BSD development commands (such as cc and make).


marcomorain commented 5 years ago

I've opened #355 to fix this. @joshdholtz could you take a look please?