couchbase/couchbase-lite-ios

Support for Apple Silicon (arm64) for macOS

WarWithinMe opened this issue · 3 comments

Describe the bug
CouchbaseLite currently can't build for the arch Apple Silicon (arm64)

Expected behavior
Couchbaselite should produce a framework that contains x86_64 and arm64 arch.

Platform (please complete the following information):

  • OS: macOS 10.15
  • Couchbase Version2.8.1
  • XCode 12.2

You can follow its here: CBL-1474

Closing this, since duplicate of the Jira ticket.

I saw this issue and I am still having this issue. I checked out the Jira ticket mentioned above and it is marked as closed, however, there has not been a new release of the framework since then. I have tried to add the package as a dependency with Swift Package Manager using the "master" branch, but I get an error that Xcode cannot find the Package.swift file.

When might there be a new release that would Apple Silicon?

I see that this issue is also mentioned on #2779 but no release has been published yet.

There is an upcoming release 2.8.4, which will include the Apple Silicon support. Once it's available, you can download the XCFramework or use the SPM.