React-native-ble-plx: Upgrade swift version from 4.0.2 to 4.0.3 RxBluetoothKit and RxSwift

Created on 26 Mar 2018  Â·  12Comments  Â·  Source: Polidea/react-native-ble-plx

Just attempted installation and saw this. No idea if this will have an effect later, just thought it should be noted.

* Skipped installing RxBluetoothKit.framework binary due to the error:
"Incompatible Swift version - framework was built with 4.0.2 (swiftlang-900.0.69.2 clang-900.0.38) and the local version is 4.0.3 (swiftlang-900.0.74.1 clang-900.0.39.2)."
*
Skipped installing RxSwift.framework binary due to the error:
"Incompatible Swift version - framework was built with 4.0.2 (swiftlang-900.0.69.2 clang-900.0.38) and the local version is 4.0.3 (swiftlang-900.0.74.1 clang-900.0.39.2)."

enhancement stale

Most helpful comment

It's not an error. Binary frameworks provided by carthage were built using Swift 4.0.2 and right now you have version 4.0.3. In that case, everything will be build from source and will take longer due to that. I'll try to update prebuilt binaries in 0.9.

All 12 comments

It's not an error. Binary frameworks provided by carthage were built using Swift 4.0.2 and right now you have version 4.0.3. In that case, everything will be build from source and will take longer due to that. I'll try to update prebuilt binaries in 0.9.

@Cierpliwy Any ETA on when the binaries will be updated?

I updated to XCode 9.3. However RxSwift didn't built binaries using 9.3, so we need to wait for them to update first.

RxBluetoothKit seems to be updated for 9.3 now.

I get a similar error while running the npm install,

npm install --save react-native-ble-plx

Here is the error I get.

Skipped installing RxBluetoothKit.framework binary due to the error:
"Incompatible Swift version - framework was built with 4.0.2 (swiftlang-900.0.69.2 clang-900.0.38) and the local version is 4.1 (swiftlang-902.0.48 clang-902.0.37.1)."
* Skipped installing RxSwift.framework binary due to the error:
"Incompatible Swift version - framework was built with 4.0.2 (swiftlang-900.0.69.2 clang-900.0.38) and the local version is 4.1 (swiftlang-902.0.48 clang-902.0.37.1).

Thanks,
Yogesh

@yogeshk19 This won't work until underlying library gets updated for new Swift.

any updates?

Latest version of RxSwift is still Spread.2 (https://github.com/ReactiveX/RxSwift/releases)

@Cierpliwy when this issue get fixed thanks

There’s a new RxSwift version released (‘Zurich’) which fixes this. Any chance of a new release now? We depend on this :)

@ChrisEdson Please check version 0.9.1 if it's working for you.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

adyanced picture adyanced  Â·  5Comments

nriccar picture nriccar  Â·  3Comments

cltsang picture cltsang  Â·  4Comments

haohcraft picture haohcraft  Â·  5Comments

mitaxe picture mitaxe  Â·  3Comments