element-hq / element-hq/element-ios

Build failed v0.10.1

Open
#2,826 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
1.8k
Forks
544
PR merge metrics
PR metrics pending

Description

Hey,
When I follow the instructions I got this compile error,

> Module compiled with Swift 5.0.1 cannot be imported by the Swift 5.1.2 compiler: /Project_Path/0.10.1/Pods/JitsiMeetSDK/Frameworks/JitsiMeet.framework/Modules/JitsiMeet.swiftmodule/x86_64.swiftmodule

I found a workaround which is set the **"BUILD_LIBRARY_FOR_DISTRIBUTION"** to **"YES"**.

But its produce a new error,

> Using bridging headers with module interfaces is unsupported
> Command CompileSwiftSources failed with a nonzero exit code

Xcode -> 11.2
Cocoapods -> 1.8.4

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the build from the project instructions with Xcode 11.2 and CocoaPods 1.8.4. Investigate the Swift 5.0.1 versus 5.1.2 module error, then check whether enabling BUILD_LIBRARY_FOR_DISTRIBUTION introduces the reported bridging-header failure. Done means the documented build completes without either compiler error.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, swift
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.