Module compiled with Swift 5.0.1 cannot be imported by the Swift 5.1 compiler

I just got my Xcode updated to Xcode 11. But I am not able to build my project as it’s giving the error mentioned below

Module compiled with Swift 5.0.1 cannot be imported by the Swift 5.1 compiler: /Xcode Projects/DigiRecords/drlitenative/Pods/CouchbaseLite-Swift-Enterprise/iOS/CouchbaseLiteSwift.framework/Modules/CouchbaseLiteSwift.swiftmodule/arm64.swiftmodule

When will there be a update in the sdk? As I can’t build the project, I can’t continue my work.

You could head over to the Couchbase Lite GitHub Repo and build the framework locally to continue working today.

While we’re at it, CocoaPods could use an update too. It has lagged behind quite a bit.

We’re hoping to get an Xcode 11 compatible version out this week. Thanks for your patience.

Couchbase Lite 2.6.0 is our latest release. Are you saying our CocoaPods CouchbaseLite is not 2.6.0?

Looks like it’s at 2.6.0 now, but compiled with Swift 5.0.1. When I checked a week or two ago (can’t remember) it was behind, on 2.5.x I think?

2.6.0 was released August 27.

Only hint I can offer is from looking in my local commit history. On Sept 10 I tried to pod update and was still getting 2.5, so I switched to a locally compiled framework. Either way, that’s old news and I’m looking forward to seeing the 2.6.x / Swift 5.1 framework later this week.

Should be there now.

Let us know if there are any issues.

When? How to fix it? Xcode 11

Be sure to clear your cache - couchbase Lite 2.6.1 for iOS should work with Xcode 11.

I can’t download couchbase Lite 2.6.1 in CocoaPods? When I can do it?

If you cannot download it, take it up with CocoaPods. The spec has been there for 4 days at this point

Did you try updating the pod repo?

pod repo update
pod install