expo / vector-icons

https://icons.expo.fyi
MIT License
647 stars 114 forks source link

[iOS] icons not working properly #177

Closed disguised-uchiha closed 1 year ago

disguised-uchiha commented 3 years ago

I'm using IonIcons with

"@expo/vector-icons": "^12.0.5",
"expo": "~41.0.1"

the icons works fine on android devices but does not render in iOS device throwing a warning mentioned below.

[Unhandled promise rejection: Error: Directory for 'file:///Users/harshboricha/Library/Developer/CoreSimulator/Devices/464D647E-6F95-44B7-B5B4-555950ECA953/data/Containers/Data/Application/788D9833-FA54-4738-8D62-871C1F88E406/Library/Caches/ExponentExperienceData/%2540anonymous%252Farculus-3bdfc15f-4a4c-44d1-8045-7a940dca0f0f/ExponentAsset-b2e0fc821c6886fb3940f85a3320003e.ttf' doesn't exist. Please make sure directory '/Users/harshboricha/Library/Developer/CoreSimulator/Devices/464D647E-6F95-44B7-B5B4-555950ECA953/data/Containers/Data/Application/788D9833-FA54-4738-8D62-871C1F88E406/Library/Caches/ExponentExperienceData/%40anonymous%2Farculus-3bdfc15f-4a4c-44d1-8045-7a940dca0f0f' exists before calling downloadAsync.]

Stack trace:
  node_modules/react-native/Libraries/BatchedBridge/NativeModules.js:103:50 in promiseMethodWrapper
  node_modules/@unimodules/react-native-adapter/build/NativeModulesProxy.native.js:15:23 in moduleName.methodInfo.name
  node_modules/expo-file-system/build/FileSystem.js:105:17 in downloadAsync
  node_modules/regenerator-runtime/runtime.js:63:36 in tryCatch
  node_modules/regenerator-runtime/runtime.js:293:29 in invoke
  node_modules/regenerator-runtime/runtime.js:63:36 in tryCatch
  node_modules/regenerator-runtime/runtime.js:154:27 in invoke
  node_modules/regenerator-runtime/runtime.js:189:16 in PromiseImpl$argument_0
  node_modules/react-native/node_modules/promise/setimmediate/core.js:45:6 in tryCallTwo
  node_modules/react-native/node_modules/promise/setimmediate/core.js:200:22 in doResolve
  node_modules/react-native/node_modules/promise/setimmediate/core.js:66:11 in Promise
  node_modules/regenerator-runtime/runtime.js:188:15 in callInvokeWithMethodAndArg
  node_modules/regenerator-runtime/runtime.js:211:38 in enqueue
  node_modules/regenerator-runtime/runtime.js:238:8 in exports.async
  node_modules/expo-file-system/build/FileSystem.js:101:7 in downloadAsync
  node_modules/expo-asset/build/PlatformUtils.js:49:25 in _downloadAsyncManagedEnv
  node_modules/regenerator-runtime/runtime.js:63:36 in tryCatch
  node_modules/regenerator-runtime/runtime.js:293:29 in invoke
  node_modules/regenerator-runtime/runtime.js:63:36 in tryCatch
  node_modules/regenerator-runtime/runtime.js:154:27 in invoke
  node_modules/regenerator-runtime/runtime.js:164:18 in PromiseImpl.resolve.then$argument_0
  node_modules/react-native/node_modules/promise/setimmediate/core.js:37:13 in tryCallOne
  node_modules/react-native/node_modules/promise/setimmediate/core.js:123:24 in setImmediate$argument_0
  node_modules/react-native/Libraries/Core/Timers/JSTimers.js:130:14 in _callTimer
  node_modules/react-native/Libraries/Core/Timers/JSTimers.js:181:14 in _callImmediatesPass
  node_modules/react-native/Libraries/Core/Timers/JSTimers.js:441:30 in callImmediates
  node_modules/react-native/Libraries/BatchedBridge/MessageQueue.js:387:6 in __callImmediates
  node_modules/react-native/Libraries/BatchedBridge/MessageQueue.js:135:6 in __guard$argument_0
  node_modules/react-native/Libraries/BatchedBridge/MessageQueue.js:364:10 in __guard
  node_modules/react-native/Libraries/BatchedBridge/MessageQueue.js:134:4 in flushedQueue
  [native code]:null in flushedQueue
  [native code]:null in invokeCallbackAndReturnFlushedQueue
  ...