Giter Site home page Giter Site logo

Comments (19)

haohcraft avatar haohcraft commented on September 8, 2024 11
  1. make sure carthage has installed
  2. 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
  3. and my run script looks like below:

screen shot 2017-03-20 at 9 06 58 am

from react-native-ble-plx.

seriph avatar seriph commented on September 8, 2024 5

@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.

nickvido avatar nickvido commented on September 8, 2024 3

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.

nisargap avatar nisargap commented on September 8, 2024 1

@nickvido I fixed that problem by using an absolute path for RxBluetoothKit.framework

from react-native-ble-plx.

vadimue avatar vadimue commented on September 8, 2024 1

@haohcraft Thanks, you save my time!

from react-native-ble-plx.

haohcraft avatar haohcraft commented on September 8, 2024

any update?

from react-native-ble-plx.

WillDent avatar WillDent commented on September 8, 2024

@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.

haohcraft avatar haohcraft commented on September 8, 2024

@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.

tuantle avatar tuantle commented on September 8, 2024

Hi, I have the same issue. And this what I have set.
screen shot 2017-03-23 at 1 17 45 pm

from react-native-ble-plx.

tuantle avatar tuantle commented on September 8, 2024

Thanks. That fixed it for me, I originally put the copy-frameworks line in the Shell input box.

from react-native-ble-plx.

WillDent avatar WillDent commented on September 8, 2024

@haohcraft @tuantle got this working. thanks

from react-native-ble-plx.

ykcai avatar ykcai commented on September 8, 2024

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.

Cierpliwy avatar Cierpliwy commented on September 8, 2024

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.

nisargap avatar nisargap commented on September 8, 2024

Same issue

from react-native-ble-plx.

nisargap avatar nisargap commented on September 8, 2024

@nickvido did you ever figure it out?

from react-native-ble-plx.

rynop avatar rynop commented on September 8, 2024

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

image

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.

nickvido avatar nickvido commented on September 8, 2024

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.

rynop avatar rynop commented on September 8, 2024

@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.

Pouria22 avatar Pouria22 commented on September 8, 2024

I had this issue because i denied keychain access

from react-native-ble-plx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.