Skip to content

Conversation

@EliseChouleur
Copy link

@EliseChouleur EliseChouleur commented Oct 28, 2025

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

EliseChouleur and others added 2 commits October 28, 2025 17:01
Detect simulator targets by checking TARGET string for "sim" or "x86_64"
and select the correct CouchbaseLite framework variant accordingly.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
@EliseChouleur EliseChouleur marked this pull request as ready for review October 31, 2025 22:25
@EliseChouleur EliseChouleur requested a review from a team as a code owner October 31, 2025 22:25
@EliseChouleur EliseChouleur changed the title feat: Add iOS Simulator arm64 (aarch64-apple-ios-sim) support feat(BILL-252): Add iOS Simulator arm64 (aarch64-apple-ios-sim) support Oct 31, 2025
@EliseChouleur EliseChouleur changed the title feat(BILL-252): Add iOS Simulator arm64 (aarch64-apple-ios-sim) support feat(BILL-252): Add iOS Simulator arm64 support Oct 31, 2025
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