React-native-ble-plx: not find compatible versions for pod "MultiplatformBleAdapter"

Created on 15 Jul 2020  路  8Comments  路  Source: Polidea/react-native-ble-plx

[!] CocoaPods could not find compatible versions for pod "MultiplatformBleAdapter":
In snapshot (Podfile.lock):
MultiplatformBleAdapter (= 0.1.6)

In Podfile:
react-native-ble-plx (from ../node_modules/react-native-ble-plx) was resolved to 2.0.1, which depends on
MultiplatformBleAdapter (= 0.1.6)

Specs satisfying the MultiplatformBleAdapter (= 0.1.6), MultiplatformBleAdapter (= 0.1.6) dependency were found, but they required a higher minimum deployment target.

bug

Most helpful comment

why not simply pod update MultiplatformBleAdapter ?

All 8 comments

I do not get it. The last time podspec for MultiplatformBleAdapter was changed in commit f0d06265176433405e3d1a9c855ec5b7584e2289 of MultiplatformBleAdapter which was made on 9th of December 2019 which was before [email protected].

Could you elaborate what was working and is not working anymore?

im upgrade from 1.1.1 to 2.0.1 then i pod install and i get this issue
[!] CocoaPods could not find compatible versions for pod "MultiplatformBleAdapter":
In Podfile:
react-native-ble-plx (from ../node_modules/react-native-ble-plx) was resolved to 2.0.1, which depends on
MultiplatformBleAdapter (= 0.1.6)

None of your spec sources contain a spec satisfying the dependency: MultiplatformBleAdapter (= 0.1.6).

You have either:

  • out-of-date source repos which you can update with pod repo update or with pod install --repo-update.
  • mistyped the name or version.
  • not added the source repo that hosts the Podspec to your Podfile.

Note: as of CocoaPods 1.0, pod repo update does not happen on pod install by default.

Correct me if I am wrong but it seems that the pods even tells you all steps you need to perform to make it work?

yes i try it but not working
i downgrade to @2.0.0 its working but the problem only on version 2.0.1 on ios

What have you tried? pod repo update?

pod install --repo-update

Judging from cocoapods podspec file everything seems to correctly point to version 0.1.6. It also seems to work on my end.

Do you have any ideas what may be wrong?

why not simply pod update MultiplatformBleAdapter ?

Was this page helpful?
0 / 5 - 0 ratings