couchbase_lite icon indicating copy to clipboard operation
couchbase_lite copied to clipboard

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

Open therealmeekey opened this issue 3 years ago • 6 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

therealmeekey avatar Nov 02 '21 08:11 therealmeekey

Same issue. Have you fixed it yet?

CoolBerry avatar Dec 15 '21 08:12 CoolBerry

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

matsunanaro avatar Jan 27 '22 13:01 matsunanaro

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

marcelomoreiratavares avatar Mar 24 '22 19:03 marcelomoreiratavares

Hi,

Same here. Is it planned include "arm64"?

arnzuk avatar Apr 11 '22 15:04 arnzuk

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

matsunanaro avatar Apr 12 '22 18:04 matsunanaro

Same issue here

igorcafe avatar Sep 24 '22 02:09 igorcafe