Hey Johannes,
Within our server setup we use the SimCtl gem to spin up simulators for test automation. One of the problems we have is that we support multiple versions of xcode. Each version of xcode is separated by a space, and then the version number (so you get Xcode 9.1.0, Xcode 8.3.3, etc).
This however breaks the SimCtl gem since the var HOME in path.rb doesn't escape shell specific characters.
A simple fix would be to use shellwords to escape the outcome of xcode-select -p
Best regards,
Sander Saelmans
Hey Johannes,
Within our server setup we use the SimCtl gem to spin up simulators for test automation. One of the problems we have is that we support multiple versions of xcode. Each version of xcode is separated by a space, and then the version number (so you get Xcode 9.1.0, Xcode 8.3.3, etc).
This however breaks the SimCtl gem since the var
HOMEinpath.rbdoesn't escape shell specific characters.A simple fix would be to use shellwords to escape the outcome of
xcode-select -pBest regards,
Sander Saelmans