From 014504ee8b6c12234592b68628ab0be888099d45 Mon Sep 17 00:00:00 2001 From: Steve Myers Date: Thu, 5 Sep 2024 16:44:57 -0500 Subject: [PATCH] chore: small fix for swift packaging --- bdk-swift/build-xcframework.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/bdk-swift/build-xcframework.sh b/bdk-swift/build-xcframework.sh index 0c4ab353..41b6e8b8 100755 --- a/bdk-swift/build-xcframework.sh +++ b/bdk-swift/build-xcframework.sh @@ -50,6 +50,7 @@ mv "${HEADERPATH_BITCOIN_FFI}" "${NEW_HEADER_DIR}" mv "${MODMAPPATH}" "${NEW_HEADER_DIR}/module.modulemap" echo -e "\n" >> "${NEW_HEADER_DIR}/module.modulemap" cat "${MODMAPPATH_BITCOIN_FFI}" >> "${NEW_HEADER_DIR}/module.modulemap" +rm "${MODMAPPATH_BITCOIN_FFI}" # remove old xcframework directory rm -rf "${OUTDIR}/${NAME}.xcframework"