Configuring React-native with React-native-ble-plx
See original GitHub issueSo I was following this guide: “https://blog.expo.io/so-you-want-to-build-a-bluetooth-app-with-react-native-and-expo-6ea6a31a151d”
At “3–IOS Setup” in first step, “pod install” I get this error I’ve got no idea why, I followed the exact guide.
Ibrahims-MacBook-Pro:appTestibrahim$ cd ./ios
Ibrahims-MacBook-Pro:ios ibrahim$ pod install
Analyzing dependencies
Fetching podspec for `DoubleConversion` from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`
Pre-downloading: `ExpoKit` from `http://github.com/expo/expo.git`, tag `ios/2.5.10`
Fetching podspec for `Folly` from `../node_modules/react-native/third-party-podspecs/Folly.podspec`
Fetching podspec for `React` from `../node_modules/react-native`
Fetching podspec for `glog` from `../node_modules/react-native/third-party-podspecs/glog.podspec`
Fetching podspec for `react-native-ble-plx` from `../node_modules/react-native-ble-plx`
Fetching podspec for `yoga` from `../node_modules/react-native/ReactCommon/yoga`
[!] Unable to find a specification for `react-native-ble-plx-swift` depended upon by `react-native-ble-plx`
Ibrahims-MacBook-Pro:ios ibrahim$
this is the error that I get:
[!] Unable to find a specification for
react-native-ble-plx-swift depended upon by "react-native-ble-plx"
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:9
Top Results From Across the Web
react-native-ble-plx - npm
npm install --save react-native-ble-plx · Enter ios folder and run pod update · Add NSBluetoothAlwaysUsageDescription in info.plist file. · If you ...
Read more >dotintent/react-native-ble-plx: React Native BLE library - GitHub
Android (example setup) · npm install --save react-native-ble-plx · In top level build.gradle make sure that min SDK version is at least 18:...
Read more >react-native-ble-plx 2.0.2 | Documentation
First step is to create BleManager instance which is an entry point to all available APIs. Make sure to create it after application...
Read more >Configuring React-native with React-native-ble-plx
Open Podfile which is located inside ./ios folder and add this line pod 'react-native-ble-plx-swift', :path => '.
Read more >@config-plugins/react-native-ble-plx examples - CodeSandbox
Learn how to use @config-plugins/react-native-ble-plx by viewing and forking example apps that make use of @config-plugins/react-native-ble-plx on CodeSandbox.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Found the solution! You just need to add this line to your
./ios/Podfile
:pod 'react-native-ble-plx-swift', :path => '../node_modules/react-native-ble-plx'
.Then run
pod install
again.@isa3bel at the top of your Podfile