Skip to content

Commit c310efe

Browse files
authored
Move module.modulemap into Headers dir of executorch.xcframework (#12837)
1 parent f66b1f0 commit c310efe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/build_apple_frameworks.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -249,9 +249,9 @@ cp -r $FRAMEWORK_EXECUTORCH_HEADERS_PATH/executorch/runtime/core/portable_type/c
249249

250250
cp "$SOURCE_ROOT_DIR/extension/apple/$FRAMEWORK_EXECUTORCH_MODULE_NAME/Exported/"*.h "$FRAMEWORK_EXECUTORCH_HEADERS_PATH/$FRAMEWORK_EXECUTORCH_MODULE_NAME"
251251

252-
cat > "$FRAMEWORK_EXECUTORCH_HEADERS_PATH/$FRAMEWORK_EXECUTORCH_MODULE_NAME/module.modulemap" << EOF
252+
cat > "$FRAMEWORK_EXECUTORCH_HEADERS_PATH/module.modulemap" << EOF
253253
module ${FRAMEWORK_EXECUTORCH_MODULE_NAME} {
254-
umbrella header "${FRAMEWORK_EXECUTORCH_MODULE_NAME}.h"
254+
umbrella header "${FRAMEWORK_EXECUTORCH_MODULE_NAME}/${FRAMEWORK_EXECUTORCH_MODULE_NAME}.h"
255255
export *
256256
}
257257
EOF

0 commit comments

Comments
 (0)