I have installed Xcode 6.2 in 10.9.5, and i dont know why, when i run,
xcodebuild -license
i get this error message,
Error reading /Applications/Xcode. The file doesn’t exist.
By typing 'agree' you are agreeing to the terms of the software license agreements. Type 'print' to print them or anything else to cancel, [agree, print, cancel] agree
You can view the license agreements in Xcode's About Box, or at /Applications/Xcode 2.app/Contents/Resources/English.lproj/License.rtf
After this i notice that xcodebuild is not well pointed, because 'xcode' folder doesnt exist, i just have 'xcode 2.app', so i dont know if i will have problems in the future, since i am getting this error, and if yes how can i fix it?
cp /path/file /path/copy
. You use spaces to signal a new argument. See my answer for an explanation.