Closed Tallyb closed 5 years ago
Swift 5 compatibility is coming in the next hour :) Working on it.
It should be available @Tallyb, is it good on your side?
The npm is also updated: 1.1.1 version (cordova plugin add cordova-plugin-voxeet).
@VTCoco It seems like there a is a problem in the way you define it. While other frameworks (e.g. kingfisher) are built regardless of the local swift version. voxeet-ios-sdk is enforcing the exact version. So on the CI (and potentially other developers machines), the local version is 4.2.1 and then it fails.
Kingfisher has already published a patch 29 days ago for Swift 5 (with Xcode 10.2 beta) and is open source so --no-binaries
works easly on it.
https://github.com/onevcat/Kingfisher/releases/tag/5.2.0
However VoxeetSDK isn't open source so when a new Swift version is available we need to compile it again with the latest Swift version (and I don't had time to test Xcode 10.2 beta).
I have the same issue and i use XCode 10.1 It seems that Xcode 10.2 is needed, and macOS Mojave is needed to install it. The Voxeet cordova project is now only compatible with Xcode > 10.2
So i have to upgrade from High Sierra to Mojave :/
@youssmak you have the reverse issue. If you still want time to upgrade from Xcode 10.1 to 10.2 you can still use VoxeetSDK before https://github.com/voxeet/voxeet-ios-sdk/releases/tag/1.3.3 and VoxeetConferenceKit before https://github.com/voxeet/voxeet-ios-conferencekit/releases/tag/1.1.6 which support Swift 4.2.
When you will be ready just upgrade them to >= 1.3.3 (VoxeetSDK) and >= 1.1.6 (VoxeetConferenceKit)
It'd be a good time to update ^^ not to mention security best practices :p
After installing XCode 10.2 the local swift version is set to 5. When adding the plugin the following error shows:
Expected Behaviour Install even when swift is 5 (do not enforce downgrading).
Steps to Reproduce the Problem
Suggested fix: in build_ios_frameworks.sh add the following to the carthage command:
--no-binaries