When i try to build with RN 0.31
I've got this issue
CSSLayout/CSSLayout.h' file not found with <angled> include; use "quotes" instead
CSSLayout.h:26:10: 'CSSLayout/CSSMacros.h' file not found with <angled> include; use "quotes" instead
I don't know what to do
Thanks
Use XCode's quick fix - right click over the problem area and apply fix. It should be resolved.
The XCode's quick fix solves the problem, but I use BuddyBuild with an integrated SDK and the remote build also fails and I think it's for the same reason.
** BUILD FAILED **
The following build commands failed:
CompileC /tmp/sandbox/57a1edef4af4710100f3aa29/bbbuild/Build/Intermediates/RCTYouTube.build/Debug-iphoneos/RCTYouTube.build/Objects-normal/armv7/RCTYouTubeManager.o RCTYouTubeManager.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
Is there a way to fix it?
edit: there is also 2 warnings about types:
/tmp/sandbox/workspace/node_modules/react-native-youtube/RCTYouTubeManager.m:64:22: incompatible pointer types initializing 'RCTYouTube *' with an expression of type 'UIView * _Nullable' [-Wincompatible-pointer-types]
and
/tmp/sandbox/workspace/node_modules/react-native-youtube/RCTYouTubeManager.m:66:71: incompatible pointer to integer conversion sending 'NSNumber *' to parameter of type 'BOOL' (aka 'signed char') [-Wint-conversion]
It looks like this was fixed in RN 0.34.0 (released today). See: https://github.com/facebook/react-native/commit/6e216d20343fccbb7bf9853ffb06a0d2628e9fc5
I don't think it was. I'm still having the same issue on RN 0.39.2 and react-native-youtube 0.8.1. I have to do the manual xcode quick fix every time I run yarn install.
Is there a plan / fork with a permanent fix for that?
@sharnik does replacing the arrow with quotes fix it? I am having a similar issue with the react-native-material-design-kit library
@hammadzz It should. Try to open the file in XCode and use its auto-quick-fix thingy.
Most helpful comment
Use XCode's quick fix - right click over the problem area and apply fix. It should be resolved.