Comments (19)
- make sure
carthage
has installed - make sure the frameworks have been in
node_modules/react-native-ble-plx/ios/BleClientManager/Carthage/Build/iOS/
, otherwise you should re npm install the lib - and my
run script
looks like below:
from react-native-ble-plx.
@rynop @nickvido The issue here actually turned out to be caused by copying these Input Files from the install instructions. It copied a newline character due to the way the md file is formatted. Close inspection of the logs (reading through all the environment variables) revealed this.
@Cierpliwy I think we should place a note warning against this in the install instructions or reformat it to be less likely.
from react-native-ble-plx.
I'm having the same problem. The specified folder exists:
$ ls -la node_modules/react-native-ble-plx/ios/BleClientManager/Carthage/Build/iOS/RxBluetoothKit.framework
total 12672
drwxr-xr-x 6 myname myrole 204 Aug 13 20:46 .
drwxr-xr-x 24 myname myrole 816 Aug 13 20:46 ..
drwxr-xr-x 3 myname myrole 102 Aug 13 20:46 Headers
-rw-r--r-- 1 myname myrole 769 Aug 13 20:46 Info.plist
drwxr-xr-x 4 myname myrole 136 Aug 13 20:46 Modules
-rwxr-xr-x 1 myname myrole 6480052 Aug 13 20:46 RxBluetoothKit
Version information:
"react": "16.0.0-alpha.12",
"react-native": "^0.46.1",
"react-native-ble-plx": "^0.6.1",
XCode: 8.3.3 (8E3004b)
from react-native-ble-plx.
@nickvido I fixed that problem by using an absolute path for RxBluetoothKit.framework
from react-native-ble-plx.
@haohcraft Thanks, you save my time!
from react-native-ble-plx.
any update?
from react-native-ble-plx.
@haohcraft maybe we can help one another? Are you pulling from master or using what is in NPM?
I tried with npm. Guess I will try from master.
from react-native-ble-plx.
@WillDent so I have resolved this. I had put the copy-frameworks
script in the wrong place. Could you share me with a screenshot of your Run Script setting in xcode? I could take a look.
from react-native-ble-plx.
Hi, I have the same issue. And this what I have set.
from react-native-ble-plx.
Thanks. That fixed it for me, I originally put the copy-frameworks line in the Shell input box.
from react-native-ble-plx.
@haohcraft @tuantle got this working. thanks
from react-native-ble-plx.
I am getting
Failed to read file or folder at /Users/michaelcai/Desktop/React/IoTApp/ios/../node_modules/react-native-ble-plx/ios/BleClientManager/Carthage/Build/iOS/RxBluetoothKit.framework
Command /bin/sh failed with exit code 1
from react-native-ble-plx.
Probably you didn't build iOS frameworks properly. Does carthage finish successfully when react-native-ble-plx is installed? Please check all manual steps.
from react-native-ble-plx.
Same issue
from react-native-ble-plx.
@nickvido did you ever figure it out?
from react-native-ble-plx.
I get the same error as well, but on Carthage/Build/iOS/RxSwift.framework
. If I hard code input files in Run Script
like @nisargap does I do not get the error. Folder exists.
xcode Version 9.1 (9B55)
[email protected]
[email protected]
[email protected]
carthage version 0.26.2
FWIW I also ran into issue on Xcode v9.0. I've tried cleaning project (cmd+opt+shift+k) no use.
@Cierpliwy any idea what is going wrong? Hard code kills team development.
from react-native-ble-plx.
I ended up scrapping the whole thing and re-creating the app using react-native init
instead of create-react-native-app
. I also switched to just using the react-native-ble-manager
package that this package references.
from react-native-ble-plx.
@nickvido thanks. Curious, where do you see react-native-ble-manager
referenced to in this project? I dont see it in package.json
and don't find any codehits. Just wondering what the diff is between this project and react-native-ble-manager
.
The other piece of info I did not mention yesterday, was my project was started with this boilerplate: https://github.com/junedomingo/movieapp so wonder if not starting clean as you mention has something to do with this issue.
from react-native-ble-plx.
I had this issue because i denied keychain access
from react-native-ble-plx.
Related Issues (20)
- unable to read property list from file: /Users/testuser/Desktop/bluetooth-ble/ios/bluetoothble/Info.plist: The operation couldnโt be completed. (XCBUtil.PropertyListConversionError error 2.) HOT 3
- I can write data to the device, but I cannot receive data. HOT 3
- ๐ Making methods async and/or arrow functions in v3.2.0 is a breaking change HOT 4
- BleError: Device Is Not Connected HOT 5
- Android: scan not returning devices HOT 15
- ๐ iOS example app does not want to start HOT 1
- ๐ empty known devices list on Android HOT 4
- IOS Service UUID does not getting HOT 7
- Support sharing JSON data between devices HOT 2
- ๐ The onstatechange was not fired if the app's blue permission was disabled HOT 5
- ๐ IOS\Android disconnecting from bluetooth device after connecting if we don't write characteristics after 30 seconds. HOT 4
- ๐ BluetoothLE is in unknown state, but the state is PoweredOn HOT 7
- Auto-disconnection in some Android devices HOT 5
- ๐ Scanning devices, it only finds my ble beacon on Android 11 (it doesn't on iOS 17.5.1 and Android 14) HOT 2
- I have connected to the IoT device, but I still cannot get the data sent by the IoT device. Does it not support the Bluetooth serial port? HOT 1
- Read characteristic in background? HOT 2
- isDeviceConnected return BleErrorCode.DeviceDisconnected instead of false๐ HOT 2
- ๐ManufacturerData on iOS returning null, in Android is correctly setted HOT 20
- Issue with [BleError: Operation was cancelled] on iOS 17 HOT 10
- ๐ Module does not work with Android Auto, when there is no Activity
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-ble-plx.