-
Notifications
You must be signed in to change notification settings - Fork 32
Closed as not planned
Closed as not planned
Copy link
Labels
more info requiredNeeds more info to become actionable. Auto-closed if no response.Needs more info to become actionable. Auto-closed if no response.questionFurther information is requestedFurther information is requested
Description
❗️ What happens
- ObjectBox 4.2.0 does not appear in Swift Package Manager’s version list (only 4.1.0).
- After integrating 4.2.0 manually (xcframework ZIP) and following the official Run Script Phase guide, every build fails with a sandbox error:
🔄 Reproduction
- macOS 15.4.1 (24E263) + Xcode 15.3.1 (16E300a)
- SPM →
https://github.com/objectbox/objectbox-swift.git
→ 4.2.0 not offered. - Download ObjectBox-xcframework-4.2.0.zip and extract to
Dependencies/ObjectBox/…
. - Add Run Script Phase (official snippet) and add these Input Files
$(PROJECT_DIR)/Dependencies/ObjectBox/generate_sources
$(PROJECT_DIR)/Dependencies/SourceryBin/Sourcery
Sandbox: zsh(94585) deny(1) file-read-data /…/generate_sources.sh
/bin/zsh: can't open input file /…/generate_sources
- Install Sourcery 1.9.2 CLI →
Dependencies/SourceryBin/Sourcery
(exec bit + quarantine cleared). - Build → sandbox denial above.
🛠️ Tried / no luck
Attempt | Result |
---|---|
chmod +x on generate_sources* , OBXCodeGen , Sourcery |
❌ |
xattr -dr com.apple.quarantine on whole Dependencies |
❌ |
Adding …/OBXCodeGen.framework/OBXCodeGen to Input Files |
❌ |
Using Sourcery 2.2.7 (Homebrew) instead of 1.9.2 | ❌ |
📋 Environment
Item | Value |
---|---|
macOS | 15.4.1 (Sequoia) |
Xcode | 15.3.1 (16E300a) |
Swift | 5.10 |
ObjectBox | 4.2.0 (manual xcframework) |
Sourcery | 1.9.2 CLI |
📎 Full log excerpt
click to expand
🙏 Questions
- Why is 4.2.0 missing from the SPM version list?
- Is there an updated Run Script Phase example that works with Xcode 15 sandboxing?
- Any known incompatibility between Sourcery ≥1.9 and ObjectBox 4.2 on macOS 15?
Thanks for looking into this!
Metadata
Metadata
Assignees
Labels
more info requiredNeeds more info to become actionable. Auto-closed if no response.Needs more info to become actionable. Auto-closed if no response.questionFurther information is requestedFurther information is requested