xcodebuild command line use

   The xcodebuild command cannot be used in the company's script execution. After many tests, it is found that you can enter /usr/bin in the command line. When you ls, you can see this command, xcode-select and xcrun commands, and then sudo ./xcode -select -switch /Applications/Xcode.app/. Calling xcodebuild at this time will not tell you that there is no such command.

Guess you like

Origin blog.csdn.net/rsp19801226/article/details/7382932