Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# CHANGELOG

## 1.0.10

## Fixes
- Removes modulemap from outputs

## 1.0.9

## Fixes
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cel-eval"
version = "1.0.9"
version = "1.0.10"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.htmlž
Expand Down
23 changes: 2 additions & 21 deletions build_ios.sh
Original file line number Diff line number Diff line change
Expand Up @@ -215,24 +215,5 @@ xcodebuild -create-xcframework \

echo "XCFramework built at ./target/xcframeworks/libcel.xcframework"

# Create Modules directory for SPM compatibility
# SPM prefers Modules/module.modulemap and won't stage it to global include path
echo "Creating Modules directory for SPM compatibility"
XCFW_PATH="./target/xcframeworks/libcel.xcframework"

for slice_dir in "$XCFW_PATH"/*/; do
if [ -f "$slice_dir/Headers/celFFI/module.modulemap" ]; then
slice_name=$(basename "$slice_dir")
echo " Processing $slice_name"

# Create Modules directory
mkdir -p "$slice_dir/Modules"

# Copy module.modulemap to Modules with adjusted header paths to point to celFFI subdirectory
sed 's|header "\([^"]*\)"|header "../Headers/celFFI/\1"|g' "$slice_dir/Headers/celFFI/module.modulemap" > "$slice_dir/Modules/module.modulemap"
fi
done

echo "Module map structure created:"
echo " - Headers/celFFI/module.modulemap (for CocoaPods, isolated path prevents Xcode collisions)"
echo " - Modules/module.modulemap (for SPM - avoids staging conflicts)"
echo "XCFramework structure with namespaced headers:"
echo " - Headers/celFFI/module.modulemap (subdirectory prevents staging collisions)"
2 changes: 1 addition & 1 deletion wasm/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "superscript"
version = "1.0.7"
version = "1.0.10"
edition = "2021"
publish = false

Expand Down
Loading