Skip to content

Commit 90b204c

Browse files
authored
fix(build_apple.sh): update header and modulemap file paths for proper directory structure (#947)
1 parent f3f8c0b commit 90b204c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/build_apple.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ LIB_NAME="clashrs"
1313
OUTPUT_DIR="build"
1414

1515
HEADERS_DIR="${OUTPUT_DIR}/Headers"
16-
HEADER_FILE="${HEADERS_DIR}/${LIB_NAME}.h"
17-
MODULEMAP_FILE="${HEADERS_DIR}/module.modulemap"
16+
HEADER_FILE="${HEADERS_DIR}/${LIB_NAME}/${LIB_NAME}.h"
17+
MODULEMAP_FILE="${HEADERS_DIR}/${LIB_NAME}/module.modulemap"
1818
XCFRAMEWORK_DIR="${OUTPUT_DIR}/${LIB_NAME}.xcframework"
1919

2020
# Ensure the toolchain from rust-toolchain.toml is installed and switched

0 commit comments

Comments
 (0)