I'm wondering why Xcode shows a empty project after creating a native react-native module using create-react-native-module
.
I issued the following command:
create-react-native-module test
The folder contents of ios/
are then:
Test.hTest.mTest.xcodeprojTest.xcworkspace
Now I think it's a good idea to write iOS specific code in Xcode, but when opening either Test.xcodeproj or Test.xcworkspace, it doesn't show Test.m
or Test.h
on the left:
Also, when opening it using the xcworkspace file, the libTest.a
is red.
Question: Why does Xcode not show these 2 files? Do they have to be linked to the target or something like that? How would I go about adding new files? From which file I am supposed to open this project in Xcode?