No component found for view with name “ARTShape”

This post has the solution for the problem: No component found for view with name “ARTShape”. This problem can be faced while working with Pie charts or the graphs where you need different shapes. I have faced this issue while working with Pie Chart in React Native. This problem can be faced while working with IOS.


To solve this problem you need to link the ART library to your React Native project for IOS. You’ll find the React ART library in node_modules/react-native/Libraries/ART/ART.xcodeproj. To Link, the ART library for the IOS open the ProjectName.xcodeproj in Xcode

You will see Project Structure in Left Menu. Click on the Libraries option to expand.

Navigate to node_modules/react-native/Libraries/ART/ART.xcodeproj and drag ART.xcodeproj into the Libraries

Now Open the ART.xcodeproj and navigate to Products. You will see libART.a. Click on the Project in the left sidebar (PieChartExample in this case), now find Build Phase tab in the workspace area where you can see Link Binary With Libraries. (Please make note that  you have selected the Project and then opening the Build Phase)

Now drag the libART.a file into the Link Binary With Libraries.

That’s it! Now you are good to go. Try to build your project again and I should work now. For more about Linking Libraries, you can visit here.

That was the solution to the problem No component found for view with name “ARTShape”. If you have any doubts or you want to share something about the topic you can comment below or contact us here. There will be more posts coming soon. Stay tuned!

Hope you liked it. 🙂

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.