Created
March 7, 2014 12:03
Example Run Script build phase for Xcode 5 to invoke objc-identifierconstants automatically for all storyboards present in a project
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# try to find the built debug version of the script | |
# this is for normal builds | |
script="${BUILT_PRODUCTS_DIR}/../Debug/objc-identifierconstants" | |
# if nonexistent, try to find the archived version | |
if ! test -x ${script}; then | |
script="${INSTALL_ROOT}/usr/local/bin/objc-identifierconstants" | |
fi | |
${script} -6 -o ${PROJECT_DIR}/DerivedSources -f ${PROJECT_DIR} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment