Cordova-plugin-iosrtc: Swift Version Compiler error issue in Xcode 8.3.3

Created on 11 Sep 2017  路  9Comments  路  Source: cordova-rtc/cordova-plugin-iosrtc

After integrating the plugin to Xcode 8.3.3 build , It prompts for swift version conversion.Upgraded the swift version to the latest.
Getting Swift Compiler error

Please suggest how to resolve the issue

bug

Most helpful comment

Just Follow this steps https://github.com/BasqueVoIPMafia/cordova-plugin-iosrtc/blob/master/docs/Building.md , and you will be ready to go ! , it worked for me !

All 9 comments

Issue resolved by importing the bridging header file

@neethusr87 could you please describe what you did in detail?

My best guess is that he now uses the hook, which will include this file:
https://github.com/BasqueVoIPMafia/cordova-plugin-iosrtc/blob/master/extra/hooks/iosrtc-swift-support.js

Same issue with Xcode 8.3.2, any insights on this?

@neethusr87 can you tell us the solution ?

Just Follow this steps https://github.com/BasqueVoIPMafia/cordova-plugin-iosrtc/blob/master/docs/Building.md , and you will be ready to go ! , it worked for me !

@ljcp Thank you it worked.

The processes described on Building.md _almost worked_ for me, except I had to install xcode locally and not globally:

npm install -g xcode # Installed but did not solve build issues
npm install -D xcode # Worked perfectly

Also, can this super useful link and suggestion be added to the README? I'm sorry I'm unable to PR at this time. Thanks!

Fixed via hook and new Swift 4.2 support is coming on 5.0.0

Was this page helpful?
0 / 5 - 0 ratings