frostney / react-native-create-library

:notebook: Command line tool to create a React Native library with a single command
MIT License
1.45k stars 113 forks source link

'RCTBridgeModule.h' file not found #87

Closed ademcan closed 6 years ago

ademcan commented 6 years ago

I am creating a new issue as I cannot open the closed one. It seems that once the project is created React is not linked properly and give me the following error in the automatically generated header file: 'RCTBridgeModule.h' file not found I am running High Sierra with Xcode 10.

Steps to reproduce: react-native-create-library test cd react-native-test npm install npm link open ios/test.xcworkspace -> error in the RNTest.h file

Thank you

maicki commented 6 years ago

hey! - It's not possible to build the library within the xcodeworkspace instead link it into a project and develop in there.

ademcan commented 6 years ago

Ok, I see, it makes sense. I indeed managed to use it into a project, but thought as a first step to build it alone... thank you for your help @maicki

malikmani commented 3 years ago

What about if you want to write the unit tests for the library? Will you be doing that into another project?

@maicki @ademcan