genexu / react-native-pie-chart

Simple pie chart module for your React Native app
MIT License
109 stars 47 forks source link

No Component Found For View With Name ARTShape. #16

Closed thecodecafe closed 6 years ago

thecodecafe commented 6 years ago

In your installation instruction it says the second step says link art , do you mean to run react-native link? if so then I think you should state that, but anyways I've ran react-native link and got an error, No component found for view with name ARTShape.

genexu commented 6 years ago

@thecodecafe Hi, ARTShape is ReactNatvie ART libs component, so you have to open the ART project inside the React Native structure and add libART.a to your workspace.

Ref: "If the library has native code, there must be a .xcodeproj file inside the folder. Drag this file to your project on Xcode (usually under the Libraries group on Xcode);"

https://facebook.github.io/react-native/docs/linking-libraries-ios.html#manual-linking https://github.com/facebook/react-native/tree/master/Libraries/ART/ART.xcodeproj

Having a nice day.