While building an app using an
xcodebuild process, you experience one of the following:
You receive an error:
The process hangs indefinitely.
Although the Xcode.app automatically generates a shared scheme if it can't find one,
xcodebuild does not. This usually generates an error: "
scheme not found", but sometimes it can result in the process hanging indefinitely.
To fix this issue make sure that you have a shared user scheme.