最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

xcode - react-native-vector-icons icons don't show up in iOS release build - Stack Overflow

programmeradmin4浏览0评论

I'm trying to use react-native-vector-icons, but while the icons show up in debug mode, they don't appear when I build my .ipa.

Note: The icons are not replaced by "X" symbols or "?", they are simply invisible. However, they are still interactive—if I tap the area where an icon should be, it functions correctly.

I'm using:

"react-native-vector-icons": "^9.2.0",
"react-native": "0.71.4",
"expo": "^49.0.8",

with Xcode 16.2.

I tried adding them in the Resources of my app, and they appear in the Copy bundle resources. Doing so it doesn't change anything. Also, sometimes while uninstalling/reinstalling they appear in Copy Pods resources.

I tried the following:

  • Only in Copy Bundle Resources
  • Only in Copy Pods Resources
  • Both (I know that's wrong. I get the error Multiple commands produce...)

I'm not sure if the problem is the presence of expo or something else, but I can't quite figure it out. I also can't eject it because I need some expo modules

I'm completely out of options and keep running into the same solutions online, but nothing seems to work properly.

Can someone explain the correct way to solve this problem?

发布评论

评论列表(0)

  1. 暂无评论