Expo SDK 41 and app.config.js

I am relatively new to Expo. My background is native Android and pretty much every web framework. I am using Mac OS 11.3.1 with VS Code. The simulator is iOS version 12.5. I recently upgraded Expo from SDK 40 to SDK 41. I was creating an app and noticed that I could not get any Icons to show. I am using NativeBase.

I did the usual debugging and reinstalled each package one by one in a new app to reproduce the problem. The icons were showing fine. I then copied all my source files and assets, and again it was working. Finally I copied over the app.config.js file and the Icons quit showing again. I commented out all the text in the file and still no Icons. The only way I could get Icons to show was by adding a ‘name’ property in the app.config.js file. Below is the file with the ‘name’ included.

export default {
  name: 'BCD',
  version: '1.0.0',
  extra: {
    server_url: 'https://my_server_info_here',

The error I was getting is

[Unhandled promise rejection: Error: Directory for 'file:///Users/mark/Library/Developer/CoreSimulator/Devices/CF44AAF8-DDC9-4518-8652-21C366C1A288/data/Containers/Data/Application/68CE7B82-ADCC-4075-828C-36AE6A43E54B/Library/Caches/ExponentExperienceData/%2540drmarkthrasher%252Ftest_project/ExponentAsset-b3263095df30cb7db78c613e73f9499a.ttf' doesn't exist. Please make sure directory '/Users/mark/Library/Developer/CoreSimulator/Devices/CF44AAF8-DDC9-4518-8652-21C366C1A288/data/Containers/Data/Application/68CE7B82-ADCC-4075-828C-36AE6A43E54B/Library/Caches/ExponentExperienceData/%40drmarkthrasher%2Ftest_project' exists before calling downloadAsync.]

As I stated above, I am relatively new to Expo. I’m not sure how the ‘name’ field in that file is tied to some sort of font error. Anyway, if someone has an answer I would love to know. This may be obvious to someone with more experience.


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.