Description
I just generate a fresh new project using Turbo module (not Nitro).
The default template works, with multiply function, I can create a swift file + header, then call from objc -> swift, it works OK
Then I update Typescript Spec: add a third param to multiply function. Run:
bundle install
bundle exec pod install
all successful. But now when I open ios project, Swift file + Bridging header are not showing in Xcode, eventhough they actually still exist, if I compile -> fail because can't find header file, and I have to add Bridging header again, everytime. But the weird is the default MyModule.h and MyModule.mm (the default files on project creation) are not cleared, they're preserved.
I guess everytime I run pod install it re clears file reference or something
How can I preserve the files, do you have some idea? Thanks
Packages
Selected options
Turbo Modules
Link to repro
NA
Environment
all latest version
Description
I just generate a fresh new project using Turbo module (not Nitro).
The default template works, with
multiplyfunction, I can create a swift file + header, then call from objc -> swift, it works OKThen I update Typescript Spec: add a third param to
multiplyfunction. Run:all successful. But now when I open ios project, Swift file + Bridging header are not showing in Xcode, eventhough they actually still exist, if I compile -> fail because can't find header file, and I have to add Bridging header again, everytime. But the weird is the default
MyModule.handMyModule.mm(the default files on project creation) are not cleared, they're preserved.I guess everytime I run
pod installit re clears file reference or somethingHow can I preserve the files, do you have some idea? Thanks
Packages
Selected options
Turbo Modules
Link to repro
NA
Environment
all latest version