Commit 8a3cb0a
feat(BILL-252): Add iOS Simulator arm64 support (#71)
## Summary
Add support for Apple Silicon iOS simulators by properly detecting
simulator targets and selecting the correct CouchbaseLite framework
variant.
## Solution
The fix checks the full `TARGET` environment variable for `"sim"` or
`"x86_64"` to determine if it's a simulator build, and selects the
appropriate framework:
- **Device** (aarch64): `ios-arm64`
- **Simulator** (aarch64 or x86_64): `ios-arm64_x86_64-simulator`
## Testing
- ✅ Builds successfully for `aarch64-apple-ios-sim` target
- ✅ Existing `x86_64-apple-ios` simulator builds still work
- ✅ Device builds (`aarch64-apple-ios`) unaffected
🤖 Generated with [Claude Code](https://claude.com/claude-code)
---------
Co-authored-by: Claude <[email protected]>1 parent 6a3b1ae commit 8a3cb0a
1 file changed
+5
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
213 | | - | |
214 | | - | |
215 | | - | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
216 | 218 | | |
217 | 219 | | |
218 | 220 | | |
| |||
0 commit comments