I recently ejected from expo 38 and since then my static images are not showing when I run the app in release mode on iOS, no errors are reported either. Works fine on Android for both release and debug.
When I print the uri of an image it points to APP_ID/Library/Application Support/.expo-internal/assets/assets/my-image.png.
Inside my simulator there’s no assets folder inside .expo-internal however all my assets are there at the root of .expo-internal with their original names replaced by hexadecimal strings (ex: 24d3a85009cdd5cd76c2e066c450de2d.png).
I’ve tried to build an offline bundle and adding it to Copy Bundle Resources in Build Phases as explained here but to no avail.
I presume it makes sure the assets are bundled correctly.
However I already had a metro.config.js file prior to ejecting that I needed for a svg library so expo didn’t generate a new one.
In future version of expo it would be practical if the eject process could add the necessary configuration inside the metro.config.js if the file already exists.
initialize a new project with bare workflow, compare the result to yours. also, what sdk version are you using? if you are using sdk 38 and eject, you will end up on react-native 0.62.2, which does not include a patch from react-native 0.63 that fixes images on ios when built with xcode12 for ios 14. you can update or cherrypick that fix. if this is happening in debug mode for you then this is almost certainly the issue that you’re facing
@notbrent I have attempted updating to react-native 0.63 and expo 39 by hand and failed miserably. I saw numerous issues regarding expo 39 and do not want to try to upgrade just yet
What exactly do you refer to regarding
cherrypick that fix
Could that change be put into expo 38.0.11 somehow? or could you put explicit instructions on how to fix the xcode 12 issue?