Can't build JitsiMeet with XCode 12.0 beta 3
See original GitHub issueDescription:
After installing XCode 12.0 (beta 3) and trying to compile a project that includes the cocoapod JitsiMeet SDK, I can not build.
Steps to reproduce:
- Install XCode 12.0 beta 3 from iTunes Developer Center.
- Open a project with a dependency of JitsiMeet SDK as a cocoapod and ‘import JitsiMeet’
- Build in iOS Simulator 14.0 & iOS Simulator 12.4
Expected behavior:
Build OK.
Actual behavior:
Following errors appear in XCode:
'PiPViewCoordinator' is not a member type of 'JitsiMeet'
'PiPViewCoordinatorDelegate' is not a member type of 'JitsiMeet'
'AnimationCompletion' is not a member type of 'JitsiMeet'
'JMCallKitListener' is not a member type of 'JitsiMeet'
In file: x86_64-apple-ios-simulator.swiftinterface
Client information:
- Jitsi Meet version: 2.9.3
- Operating System: macOS Catalina 10.15.5
Issue Analytics
- State:
- Created 3 years ago
- Comments:17 (5 by maintainers)
Top Results From Across the Web
Failed to build module, Apple Swift version 5.1.3 have features ...
What I already done: Reinstall XCode;. Changed Swift Language Version;. Deleted VALID_ARCHS reference according Xcode 12 Beta 2 - unable to load ...
Read more >Create Jitsi Meet Framework for native iOS application and ...
Configure jitsi-meet react native application on your system run it and make it work; Open Xcode project run it on iOS device check...
Read more >iOS SDK | Jitsi Meet - GitHub Pages
JitsiMeet is an iOS framework which embodies the whole Jitsi Meet experience and makes it reusable by third-party apps. To get started: Add...
Read more >Configure PLCrashReporter framework for device on xcode ...
[Solved]-Configure PLCrashReporter framework for device on xcode 4.3 beta ... The Xcode project being part of PLCrashReporter does that all for you.
Read more >Xcode encountered an error - Seba Online
5 iOS : XCode 6 Beta 4 error - "An error was encountered while running (Domain ... 3 installed in your applications folder,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hello @saghul hope you are fine. I also have same problem. I’m using Xcode 12.2 and JitsiSDK 2.10.2
But I faced same error.
This error is due to an Apple bug, you can find more information in this discussion on the Apple Developer Forum. Normally with Module Stability, currently used for the iOS Jitsi binary framework, we should be able to use a binary framework built with Xcode 11 and Swift 5.1 with Xcode 12 and Swift 5.3 without any issue, this is the goal of the feature.
Regarding the Apple issue the current solution (explained in the Apple forum) is to remove
JitsiMeet
module prefix in all.swiftinterface
files located here.For example I’ve been able to build the JitsiMeetSDK 2.8.1 (built with Swift 5.2.2) with Xcode 12 (using Swift 5.3) by removing the module prefix
JitsiMeet
everywhere in the.swiftinterface
files.Below you can find a concrete example of the content of
x86_64-apple-ios-simulator.swiftinterface
file of JitsiMeetSDK 2.8.1 I manually modified:A post process with a script after the framework generation can be a solution while waiting for Apple to fix the issue. I don’t know if there is another way to solve that. Otherwise I can open a dedicated issue for this annoying bug if you prefer.