X-Git-Url: https://git.saurik.com/apple/security.git/blobdiff_plain/79b9da22a1f4b26279940d285c1bc28ce4e99252..refs/heads/master:/xcscripts/install-test-framework.sh?ds=sidebyside diff --git a/xcscripts/install-test-framework.sh b/xcscripts/install-test-framework.sh index ae4aae17..26b4b1b0 100644 --- a/xcscripts/install-test-framework.sh +++ b/xcscripts/install-test-framework.sh @@ -8,8 +8,9 @@ for a in ${TEST_FRAMEWORK_SEARCH_PATHS}; do if test -d "${a}/${framework}" ; then dst="${BUILT_PRODUCTS_DIR}/${FRAMEWORKS_FOLDER_PATH}" - mkdir -p "{dst}" || { echo "mkdir failed with: $?" ; exit 1; } + mkdir -p "${dst}" || { echo "mkdir failed with: $?" ; exit 1; } ditto "${a}/${framework}" "${dst}/${framework}" || { echo "ditto failed with: $?" ; exit 1; } + find "${dst}/${framework}" \( -name Headers -o -name Modules -o -name '*.tbd' \) -delete xcrun codesign -s - -f "${dst}/${framework}" || { echo "codesign failed with: $?" ; exit 1; } found=yes