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

Would this still work with a Swift code? #40

Open Jonovono opened 7 years ago

Jonovono commented 7 years ago

I created a bridge that contains swift files, a bridging header and some ObjC code. Would this still work? I keep getting an error like this when I try to build:

clang: error: no such file or directory: '/Users/jordan/Library/Developer/Xcode/DerivedData/Example-gkdwaunksvxpwadrlaeowlpftbms/Build/Products/Debug-iphonesimulator/libRNHotBox.a'
maicki commented 6 years ago

@Jonovono Look at this answer: https://github.com/frostney/react-native-create-library/issues/30#issuecomment-366537650

Currently it is not possible to add Swift code to a static library. Therefore I think this issue could be closed cc @frostney