#!/bin/sh REPO_NAME="ios-sdk" FRAMEWORK_NAME="SpotifyiOS.xcframework" #!/bin/sh rm -fR ${REPO_NAME} mkdir ${REPO_NAME} git clone https://github.com/spotify/${REPO_NAME} git -C ${REPO_NAME} checkout tags/v3.0.0 find ./${REPO_NAME} -mindepth 1 -maxdepth 1 -not -name ${FRAMEWORK_NAME} -exec rm -rf '{}' \; # Keep on only the xcframework folder