question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

No component found for view with name "ARTSurfaceView"

See original GitHub issue

screen shot 2016-10-14 at 2 29 24 pm

I’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:closed
  • Created 7 years ago
  • Reactions:3
  • Comments:23 (4 by maintainers)

github_iconTop GitHub Comments

7reactions
rascalacommented, Jan 10, 2017

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,

  1. Select the main project in xcode(“open path/to/projectname.xcodeproj” in terminal)
  2. Select your main project in the left panel in xcode.
  3. Select “Build Phases” from the center view.
  4. There will be a section called “Link Binary With Libraries”, expand it, press the + and select libART.a (This step can only be done after dragging the ART xcodeproj file into Libraries, refer to link for more details)

Hope this helps! 😃

6reactions
obladorcommented, Oct 15, 2016

Hi, you must add ART.xcodeproj to your project and link with libART.a. Compare the example project with yours to spot differences that you missed 😃

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found