iOS: XCode 11 Build Failed
See original GitHub issueDescription
I have a project that works great with Jitsi for a long time. But, when I upgraded XCode to version 11, I needed to build Jitsi for the latest version of the Swift lang in order to avoid the error “module compiled with swift 5.0.1 cannot be imported by the swift 5.1 compiler”.
Jitsi integration through Cocoapods still causes error “module compiled with swift 5.0.1 cannot be imported by the swift 5.1 compiler”, so I used manual installation: https://github.com/jitsi/jitsi-meet/tree/master/ios#builduing-it-yourself
but it causes the following error:
=== BUILD TARGET JitsiMeet OF PROJECT sdk WITH CONFIGURATION Release ===
Resolving target dependencies
Target 'Pods-JitsiMeet' of project 'Pods' was rejected as an implicit dependency for 'libPods-JitsiMeet.a' because it doesn't contain platform 'macosx' in its supported platforms 'iphonesimulator, iphoneos'
Check dependencies
target 'JitsiMeet' has bitcode enabled (ENABLE_BITCODE = YES), but it is not supported for the 'macosx' platform
Building for Mac Catalyst is not supported by the legacy build system.
** ARCHIVE FAILED **
Prior to Xcode 11 update, manual installation did not cause such errors
Steps to reproduce
- npm i
- cd ./ios
- pod install
- cd …
- open ios/jitsi-meet.xcworkspace in Xcode and hit play button
- xcodebuild -workspace ios/jitsi-meet.xcworkspace -scheme JitsiMeet -destination=‘generic/platform=iOS’ -configuration Release archive
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:59 (24 by maintainers)
Top Results From Across the Web
Build Failed — but no reason! | Apple Developer Forums
Hi, I'm experiencing weird Xcode behavior. I'm getting "build failed" after some alterations to the code, but Xcode will NOT give me the...
Read more >Xcode: Build Failed, but no error messages - Stack Overflow
Build operation failed without specifying any errors. Individual build tasks may have failed for unknown reasons. One possible cause is if there ...
Read more >Steps to resolve failed to build iOS app error - YouTube
45,6s Failed to build iOS app Error output from Xcode build: ↳ ** BUILD FAILED ** Could not build the application for the...
Read more >Oh dear! Build errors? - LoopDocs - GitHub Pages
Open your project in Xcode as normal. Then go to the menu bar at the top of the screen and find the "Product"...
Read more >Build: Failed to decode "signingCertificate" #6977 - GitHub
I was trying to build the iOS client again but this time with a different version of XCode but it failed. XCode 13.4;...
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
Thanks for the report, we’ll look into this.
Here’s a complete reference of how it built for me.
git clone https://github.com/jitsi/jitsi-meet.git cd jitsi-meet npm install (cd ios; pod install)
run jitsi-meet.xcworkspace in Xcode , should compile and run fine
The generated frameworks would be under ROOT_DIRECTORY/ManuallyBuiltFrameworks
Add the following script in :: BuildPhases > RunScript (make sure Run Script is at last)