cordova-rtc / cordova-plugin-iosrtc

Cordova iOS plugin exposing the WebRTC W3C API
MIT License
690 stars 338 forks source link

error: the use of xcframeworks is not supported in the legacy build system. my xcode12 swift5 .. please help #724

Closed mmkecibi closed 3 years ago

mmkecibi commented 3 years ago

YOU MUST read first!

Please use Community Forum for general technical discussions and questions.

Note: If the checkboxes above are not checked (which you do after the issue is posted), the issue will be closed, removing this checkbox will result in automatic closed issue.

Versions affected

Description

Steps to reproduce

cordova plugin remove cordova-plugin-iosrtc --verbose cordova plugin add https://github.com/cordova-rtc/cordova-plugin-iosrtc#master --verbose cordova platform remove ios --no-save cordova platform add ios --no-save

Expected results

Check dependencies error: the use of xcframeworks is not supported in the legacy build system.

BUILD FAILED

The following build commands failed: Check dependencies (1 failure) xcodebuild: Command failed with exit code 65

app:spawn Command "cordova" failed with exit code: 65 +0ms app:cordova-conf Updated Cordova config.xml +2

Actual results

hthetiot commented 3 years ago

You can try turning off the legacy build system. Go to File -> Workplace Settings -> Build System -> Change to New Build System (Default)

Source: https://stackoverflow.com/questions/59810118/errorthe-use-of-xcframeworks-is-not-supported-in-the-legacy-build-system

Literally the first result when you Google "error: the use of xcframeworks is not supported in the legacy build system.".

Next time, please provide EXACT Xcode version, no sure why you have this issue, could be related to another plugins.