Rocket.Chat.iOS icon indicating copy to clipboard operation
Rocket.Chat.iOS copied to clipboard

Build error - Module compiled with Swift 4.2.1 cannot be imported by the Swift 5.0.1 compiler

Open zsliu opened this issue 6 years ago • 1 comments

I am trying to build Rocket.Chat.iOS on branch origin/chore/upgrade_libraries_swift_versions with Xcode 10.2. It always end up with error as below.

Rocket.Chat.iOS/Rocket.Chat/Controllers/Video Conferencing/JitsiViewController.swift:10:8: Module compiled with Swift 4.2.1 cannot be imported by the Swift 5.0.1 compiler: /xxxx/source/Rocket.Chat.iOS/Rocket.Chat/External/JitsiMeet/JitsiMeet.framework/Modules/JitsiMeet.swiftmodule/x86_64.swiftmodule

It seems Xcode 10.2 can not import Swift 4.2.1 jitsi meet framework.

Would you please advise if there's any work around, or should I use different version xcode ?

zsliu avatar Apr 25 '19 07:04 zsliu

@zsliu for now, you can checkout the revert-2690-revert-2689-swift5 branch!

rudrankriyam avatar May 10 '19 12:05 rudrankriyam