SaltechSystems / couchbase_lite

Flutter plugin for the Community edition of Couchbase Lite. Couchbase Lite is an embedded lightweight, document-oriented (NoSQL), syncable database engine.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Module compiled with Swift 5.3.2 cannot be imported by the Swift 5.5.1 compiler

therealmeekey opened this issue · comments

I have Xcode 13.1 installed running app from flutter on iOS simulator gives issue such module compiled by Swift 5.3.2 cannot be imported by Swift 5.5.1. Even though changing from swift version from Build Setting could not solve problem.

<unknown>:0: error: unable to load standard library for target 'arm64-apple-ios9.0' /Users/thereameekey/flutter/.pub-cache/hosted/pub.dartlang.org/couchbase_lite-3.0.0-nullsafety.2/ios/Classes/CBManager.swift:10:8: error: module compiled with Swift 5.3.2 cannot be imported by the Swift 5.5.1 compiler: /Users/thereameekey/tass/tassovec/ios/Pods/CouchbaseLite-Swift/iOS/CouchbaseLiteSwift.framework/Modules/CouchbaseLiteSwift.swiftmodule/arm64.swiftmodule import CouchbaseLiteSwift

Same issue.
Have you fixed it yet?

It's basically because Xcode 13 will, by default, include "arm64" for the simulator architecture. However, "arm64" is not available for this pod yet.

It's very important to keep the app working with simulators. Is there any workaround?

Hi,

Same here. Is it planned include "arm64"?

I've already fixed this issue in pull request #103 .
Could someone please merge the pull request?

commented

Same issue here