unimonkiez / react-native-asset

Linking and unlinking of assets 🔥

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fails when ios project was never built (on Windows)

pke opened this issue · comments

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?

It seems like something with the linking, try this

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.

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.

Sure will do, when I find the time to dig into the source code.