Skip to content

Instantly share code, notes, and snippets.

@zhihuitang
Last active February 15, 2020 06:11
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save zhihuitang/69fc4784df749137b5ecf890b3c591e9 to your computer and use it in GitHub Desktop.
Save zhihuitang/69fc4784df749137b5ecf890b3c591e9 to your computer and use it in GitHub Desktop.
exec >> /tmp/${PROJECT_NAME}_archive.log 2>&1
FRAMEWORK_NAME="YOUR-FRAMEWORK-NAME"
cd ${SRCROOT}/Pods/${FRAMEWORK_NAME}/
echo "🚀restore ${SRCROOT}/Pods/${FRAMEWORK_NAME}"
rm -rf ./${FRAMEWORK_NAME}.framework
unzip -o ${FRAMEWORK_NAME}.zip
rm -rf ${FRAMEWORK_NAME}.zip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment