cordova-rtc / cordova-plugin-iosrtc

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

App failing to build because of the plugin #750

Closed XavierTM closed 2 years ago

XavierTM commented 2 years ago

Versions affected

Description

cordova build ios is failing to complete, showing an error in the plugin code

Steps to reproduce

cordova create example
cd xample
cordova platform add ios
cordova plugin add cordova-plugin-iosrtc
cordova build ios

Expected results

The app should build successfully

Actual results

/path/to/project/platforms/ios/HelloCordova/Plugins/cordova-plugin-iosrtc/PluginRTCAudioController.swift:29:82
     static private var audioModeDefault : AVAudioSession.Mode = AVAudioSession.Mode.default
xcodebuild: Command faield with exit code 65
hthetiot commented 2 years ago

@XavierTM I'm not able to reproduce using continuous integration that does build the app.

Also the provided error information is not complete and we would need the full error to understand why it does fail to build.

hthetiot commented 2 years ago

See successful build using continuous integration here: https://github.com/cordova-rtc/cordova-plugin-iosrtc/runs/6440182556?check_suite_focus=true

hthetiot commented 2 years ago

Related https://github.com/apache/cordova-ios/issues/966

XavierTM commented 2 years ago

@hthetiot Thank you. I created a new app with only this plugin and it compiled successfully.