I believe I'm following the installation instructions correctly, however I can't seem to get the project to run. Clearly this is due to changing the extension, but I don't know enough about native development to pin down where the issue lies.
I follow the installation instructions as outlined, then running yarn react-native run-ios gives the following error: error: Build input file cannot be found: '.../AppDelegate.m'
Hi @nextriot,
please create a repository with your project and link it here.
Oh, I faced it too.
In order to fix this, open the project in XCode, then navigate to Build Phases, in Compile Sources remove the AppDelegate.m file and add AppDelegate.mm instead.
Perhaps, this should be mentioned in docs, not sure if there is easier way to fix this thing.
I also had to change sourcecode.c.objc -> sourcecode.cpp.objc as noted in the diff. I ran into an issue where xcode compilation couldn't pick up the standard cpp files (memory.h in my case)
Oh, I faced it too.
In order to fix this, open the project in XCode, then navigate to Build Phases, in Compile Sources remove the
AppDelegate.mfile and addAppDelegate.mminstead.Perhaps, this should be mentioned in docs, not sure if there is easier way to fix this thing.
This did it for me! Thanks a bunch @terrysahaidak 馃憤
Let's keep this open until we have this in docs @jakub-gonet
Just wanted to point out that the note added to the docs doesn't address the fix in my case, which was @terrysahaidak's reccomendation
In order to fix this, open the project in XCode, then navigate to Build Phases, in Compile Sources remove the AppDelegate.m file and add AppDelegate.mm instead.
Did you do the renaming within the XCode? How did you do it exactly?
My apologies, I misunderstood the note. I had indeed made the change in my IDE 馃憤 ignore me :)
Most helpful comment
Oh, I faced it too.
In order to fix this, open the project in XCode, then navigate to Build Phases, in Compile Sources remove the
AppDelegate.mfile and addAppDelegate.mminstead.Perhaps, this should be mentioned in docs, not sure if there is easier way to fix this thing.