Skip to content

Instantly share code, notes, and snippets.

@epu
Last active August 29, 2015 14:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save epu/11053749 to your computer and use it in GitHub Desktop.
Save epu/11053749 to your computer and use it in GitHub Desktop.
#!/bin/bash
# $1: PBXPROJ file path
XCODEPROJ_BUNDLE=$(dirname "$1")
WITHOUT_SLASH=${XCODEPROJ_BUNDLE%/}
open $WITHOUT_SLASH
@epu
Copy link
Author

epu commented Apr 18, 2014

Can use this in p4v to launch selected pbxproj (the part of the .xcodeproj bundle you're probably trying to edit).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment