No component found for view with name "ARTSurfaceView"
See original GitHub issueI’m getting this screen when I try and add react-native-progress
I ran through the instructions for installation in Xcode, can’t seem to get it working. Any suggestions?
My Versions:
"react": "15.3.2",
"react-native": "0.35.0",
"react-native-progress": "^3.1.0",
This is the code I’m using:
import React, { Component } from 'react'
import {
StyleSheet,
Text,
View,
TouchableOpacity,
ActivityIndicator
} from 'react-native'
import * as Progress from 'react-native-progress'
export default class Loading extends Component {
render() {
return (
<Progress.CircleSnail
size={108}
colors={['red', 'green', 'blue']}
direction='clockwise'
thickness={2}
/>
)
}
}
Issue Analytics
- State:
- Created 7 years ago
- Reactions:3
- Comments:23 (4 by maintainers)
Top Results From Across the Web
No component found for view with name "ARTShape"
Just trying to produce an hello-world for using the ART object in React Native, I get the above exception as if part of...
Read more >no component found for view with name rctrawtext, no component ...
Using this component directly in your project may encounter the following error: No component found for view with name "ARTSurfaceView".
Read more >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...
Read more >fear48/react-native - Gitter
No component found for view with name "ARTSurfaceView" ... not for the value, it works with just setting style, but font family for...
Read more >react native ios添加ART.xcodeproj(ReactNative No component ...
react native ios添加ART.xcodeproj(ReactNative No component found for view with name “ARTSurfaceView”),程序员大本营,技术文章内容聚合第一站。
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
In case anyone is still having trouble with this. If your libART.a is red, then the binary is not linked.
I found the solution here http://browniefed.com/blog/getting-react-art-running-on-react-native/
For posterity,
Hope this helps! 😃
Hi, you must add
ART.xcodeproj
to your project and link withlibART.a
. Compare the example project with yours to spot differences that you missed 😃