React-native-ble-plx: Cannot install in empty react-native project

Created on 12 Apr 2018  路  8Comments  路  Source: Polidea/react-native-ble-plx

Hello!

I just executed npm install --save react-native-ble-plx in my project directory, but the dependencies RxBluetoothKit.framework and RxSwift.framework are not installing, due to an incompatible swift version.

It tells me that my swift version is to high. What should i do to fix this problem?

image

stale

Most helpful comment

@Cierpliwy any news? with swift 4.1 when it get done? thanks

All 8 comments

I think this error is a bit misleading. It only means that due to higher version of your Swift compiler carthage couldn't use prebuild binaries and had to compile them from source. Everything should work just fine.

What should i do to fix this problem?

You can't really. I will update to High Sierra soon and rebuild dependencies with Swift 4.1.

Duplicate of #243

@Cierpliwy Great! Thanks for your adequate reaction.

@Cierpliwy whats the purpose of using carthage in this package? Can it be removed?

With the complexity of brew now not allowing sudo and the postinstall.js script failing (#174) it seems more trouble than it's worth

At least I've spent way to much time trying to get around carthage for this package

@Cierpliwy any news on building dependencies with Swift 4.1 ?

@brancooo1 Last time I checked RxSwift (our dependency) didn't update binaries to Swift 4.1.

@Cierpliwy any news? with swift 4.1 when it get done? thanks

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

BlackCod3 picture BlackCod3  路  3Comments

lenninlc picture lenninlc  路  3Comments

kevinmeyvaert picture kevinmeyvaert  路  4Comments

nriccar picture nriccar  路  3Comments

mitaxe picture mitaxe  路  3Comments