quipper / react-native-td Goto Github PK
View Code? Open in Web Editor NEWAn unofficial React Native SDK for Treasure Data.
License: Apache License 2.0
An unofficial React Native SDK for Treasure Data.
License: Apache License 2.0
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?
Isn't pod install
is necessary?
Could you write down installation process, like
yarn add react-native-td
react-native link react-native-td
cd ios
pod init
...
how I did
below?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.
We use typescript so generating flowtype type file by TypeScript type would be a good approach? ๐ค
For TS
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.