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.

Support React Native 0.39.x / 0.40.x Headers

See original GitHub issue

RN 0.39.0 ships with breaking changes to CSSLayout. 0.40.0 ships with changes to the header imports. This causes the build to fail on the react-native-youtube module:

For 0.39.x users:

screen shot 2016-12-01 at 10 11 24 pm

For 0.40.0 users: screen shot 2017-01-09 at 11 24 44 am

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:10
  • Comments:18 (1 by maintainers)

github_iconTop GitHub Comments

6reactions
hugohowcommented, Dec 14, 2016

+1 for this issue

2reactions
eljagocommented, Dec 24, 2016

I did what the error suggested and it worked. Click the error, it will take you to the file RCTConvert.h. Then replace #import <CSSLayout/CSSLayout.h> with #import “CSSLayout.h”

I know that modifying this file is not the desired solution, but it was a quick fix.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Integration With Existing iOS Project failed: 'CSSLayout ...
Description After upgrade to react-native@0.39, Integration With Existing Empty iOS Project failed, and old workaround "postinstall": "find ...
Read more >
React Native XcodeBuild fails on header import in CI
I am attempting to build a React Native application on an Os X CircleCI box. My circle.yml is as follows: machine: xcode: version:...
Read more >
React Native versions
React Native versions. Open source React Native releases follow a release train that is coordinated on GitHub through the react-native-releases repository.
Read more >
Configuring the header bar - React Navigation
Setting the header title​. A screen component can have a static property called navigationOptions which is either an object or a function that...
Read more >
react-native-video - npm
0 for Android 64bit builds and Android X support. Version 4.x requires react-native >= 0.57.0. Version 3.x requires react-native >= 0.40.0 ...
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