Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image assets don't show up in iOS Simulator #65

Closed
tankadesign opened this issue Jul 28, 2020 · 5 comments
Closed

Image assets don't show up in iOS Simulator #65

tankadesign opened this issue Jul 28, 2020 · 5 comments

Comments

@tankadesign
Copy link

Xcode says files not found on local image assets. The image assets are not being automatically bundled. Running react-native with FORCE_BUNDLING flag also does not work. Is this a problem with React Native?

Could not find image file:///Users/falcon/Library/Developer/CoreSimulator/Devices/4767FE10-9492-4243-A538-47D8510D175B/data/Containers/Bundle/Application/EF822A42-3354-446B-91A8-F31B7831C5B4/ReactNativeStarter.app/assets/assets/images/tabbar/[email protected]

Note the double assets/assets/ directory call. Why is that happening?

I'm using NVM to manage node.
Running Node 12.8.3
Xcode 11.6

@jeremycod
Copy link

jeremycod commented Sep 27, 2020

@tankadesign Did you manage to figure out what is the problem? I'm having the same issue, but it's happening both with my project that was created from this kit (which used to work fine) and on the original react-native-starter kit code which was also running fine earlier.

Everything is fine when actual iPhone device is attached instead of simulator.

@kylanhurt
Copy link

Also having the same issue!

@tankadesign
Copy link
Author

No I gave up on it pretty quick

@kylanhurt
Copy link

@tankadesign @jeremycod You can upgrade to react-native version 63.3. That worked for me. Also, there is this supposed solution:
facebook/react-native#29279 (comment)

@jeremycod
Copy link

@kylanhurt Thanks a lot for sharing this. Upgrading to RN 63.3 worked for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants