open-xcode.sh 275 B

12345678910111213141516
  1. #!/usr/bin/env bash
  2. #
  3. set -euo pipefail
  4. cd "$(dirname "${BASH_SOURCE[0]}")"
  5. if [[ "$(uname -s)" != "Darwin" ]]; then
  6. echo "The Tuist Xcode workflow is only available on macOS." >&2
  7. exit 1
  8. fi
  9. tuist install
  10. tuist generate --no-open
  11. open StdoutRenderer.xcworkspace