Skip to content

Instantly share code, notes, and snippets.

@viktorbenei
Last active October 13, 2021 15:35
Show Gist options
  • Star 9 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save viktorbenei/50ce2fa50d5a090a3341 to your computer and use it in GitHub Desktop.
Save viktorbenei/50ce2fa50d5a090a3341 to your computer and use it in GitHub Desktop.
List available shared Schemes in an Xcode Project/Workspace file
#!/bin/bash
echo "=== List of available, **shared** Schemes ==="
set -x
# if you use a Workspace (.xcworkspace) file
xcodebuild -workspace $BITRISE_PROJECT_PATH -list
# or if you use a Project file (.xcodeproj) instead
xcodebuild -project $BITRISE_PROJECT_PATH -list
set +x
echo "============================================="
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment