This script copies the Reveal library in your .app file on build time as long as you have Reveal installed and you are not building the configuration 'ReleaseAppStore'.
For more info please see my blog post: http://ios-coding.com/improved-way-to-integrate-reveal/
This file contains 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
#!/bin/sh | |
APPBUNDLEPATH="${TARGET_BUILD_DIR}/${EXECUTABLE_NAME}.app/" | |
REVEALFRAMEWORKPATH="/Applications/Reveal.app/Contents/SharedSupport/iOS-Libraries/libReveal.dylib" | |
if [ -f "${REVEALFRAMEWORKPATH}" ] && [ "${CONFIGURATION}" != "ReleaseAppStore" ]; then | |
cp "${REVEALFRAMEWORKPATH}" "${APPBUNDLEPATH}" | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Shouldn't you put
["${CONFIGURATION}" == "Debug"]
instead ?Because default configuration use
Debug
andRelease