Skip to content

Add Xcode pre-build script for Gemstone XCFramework#120

Open
0xh3rman wants to merge 4 commits intomainfrom
build-gemstone
Open

Add Xcode pre-build script for Gemstone XCFramework#120
0xh3rman wants to merge 4 commits intomainfrom
build-gemstone

Conversation

@0xh3rman
Copy link
Copy Markdown
Contributor

@0xh3rman 0xh3rman commented Apr 8, 2026

  • Add build-gemstone.sh that hashes Rust sources and only rebuilds when changed, similar to Android Gradle inputs/outputs
  • Add Run Script Build Phase to Gem target before Sources
  • Disable ENABLE_USER_SCRIPT_SANDBOXING (script needs access to ../core and cargo)

image image

Need to run jun once for SPM resolution

- Add build-gemstone.sh that hashes Rust sources and only rebuilds
  when changed, similar to Android Gradle inputs/outputs
- Add Run Script Build Phase to Gem target before Sources
- Update generate-stone.sh to write hash cache so manual runs
  prevent duplicate builds from the build phase
- Add archive recipe to justfile
- Disable ENABLE_USER_SCRIPT_SANDBOXING (script needs access to
  ../core and cargo)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants