change to xcodebuild method