Giter Site home page Giter Site logo

quipper / react-native-td Goto Github PK

View Code? Open in Web Editor NEW
28.0 171.0 4.0 326 KB

An unofficial React Native SDK for Treasure Data.

License: Apache License 2.0

Java 36.33% JavaScript 1.01% Objective-C 30.04% Ruby 4.48% Python 4.72% TypeScript 23.41%
react-native typescript treasuredata

react-native-td's People

Contributors

hikouki avatar hotchemi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

react-native-td's Issues

How to install to iOS

I have tried to install react-native-td, but build is failed.
The failed repo is https://github.com/noymer/RNTreasureDataExample
How to install it?

questions

  1. Isn't pod install is necessary?

  2. Could you write down installation process, like

yarn add react-native-td
react-native link react-native-td
cd ios
pod init
...
  1. Where is the mistake in my procedure how I did below?

how I did

Below is how I did in the repo.

$ react-native -v
react-native-cli: 2.0.1
react-native: n/a - not inside a React Native project directory
$ react-native init RNTreasureDataExample --version [email protected]
$ cd RNTreasureDataExample

$ yarn add react-native-td
$ react-native link react-native-td
$ pod init

# edit podfile
vim ios/Podfile 

In this timing code is: noymer/RNTreasureDataExample@088b748
And build was failed.

$ ./node_modules/.bin/react-native run-ios

...
{...}/RNTreasureDataExample/node_modules/react-native-td/ios/RNTreasureData.m:3:9: fatal error: 'TreasureData-iOS-SDK/TreasureData.h' file not found
#import <TreasureData-iOS-SDK/TreasureData.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.



** BUILD FAILED **



The following build commands failed:
    CompileC {...}/RNTreasureDataExample/ios/build/Build/Intermediates.noindex/RNTreasureData.build/Debug-iphonesimulator/RNTreasureData.build/Objects-normal/x86_64/RNTreasureData.o RNTreasureData.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)

Installing build/Build/Products/Debug-iphonesimulator/RNTreasureDataExample.app
Launching org.reactjs.native.example.RNTreasureDataExample
org.reactjs.native.example.RNTreasureDataExample: 99610

I tried pod install

$ cd ios
$ pod install

In this timing code is: noymer/RNTreasureDataExample@af86d97
But build failed again.

$ cd ../
$  ./node_modules/.bin/react-native run-ios

...

** BUILD FAILED **



The following build commands failed:
    CompileC {...}/RNTreasureDataExample/ios/build/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React.build/Objects-normal/x86_64/RCTDevSettings.o {...}/RNTreasureDataExample/node_modules/react-native/React/Modules/RCTDevSettings.mm normal x86_64 objective-c++ com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)

Installing build/Build/Products/Debug-iphonesimulator/RNTreasureDataExample.app
Launching org.reactjs.native.example.RNTreasureDataExample
org.reactjs.native.example.RNTreasureDataExample: 518

When I opened the workspace in xcode and tried to build, failed again.

image

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.