I have an xcode project x.xcodeproj & use command line to invoke the build using xcodebuild command line.
x.xcodeproj
xcodebuild
xcodebuild -project x.