Fails when ios project was never built (on Windows)
pke opened this issue · comments
Philipp Kursawe commented
This is related to react-native-community/cli#1173
$ npx react-native-asset
info Linking otf assets to iOS project
WARN ERRGROUP Group 'Resources' does not exist in your Xcode project. We have created it automatically for you.
Cannot read property 'UIAppFonts' of null
Maybe this tool could print out a better error message?
Yuval Saraf commented
It seems like something with the linking, try this
Philipp Kursawe commented
It seems like something with the linking, try this
No, this does not solve it. The problem is described in react-native-community/cli#1173
I do NOT HAVE an ios project in my app.
Yuval Saraf commented
I haven't noticed the title the first time I read the issue.
So we need to add the ability to ignore android / ios projects when they are not present.
Seems like an easy PR, if you want to do it.
Philipp Kursawe commented
Sure will do, when I find the time to dig into the source code.