[英]ios App Icon is missing in the simulator using react native
Select Target from Xcode then navigate to General Tab and under "App Icon and Launch Images" section select "App Icons Source" -> AppIcon Select 目标来自 Xcode 然后导航到常规选项卡并在“应用程序图标和启动图像”部分 select“应用程序图标源”-> AppIcon
Have you checked the "Target Membership" in the right-side pane?您是否检查了右侧窗格中的“目标成员资格”?
- Go to "images.xcassets" under your project
Go 到您项目下的“images.xcassets”
- Click "AppIcon" or any image asset you have for your project
单击“AppIcon”或您为项目拥有的任何图像资产
- Show the Inspector on the right
在右侧显示 Inspector
- See if "Target Membership" is checked correctly for your app.
查看是否为您的应用正确检查了“目标成员资格”。
It was greyed out in the Target membership.它在 Target 成员资格中显示为灰色。 I fixed that and it worked.
我解决了这个问题,它奏效了。
Actually in my case the target has been set correctly.实际上,就我而言,目标已正确设置。 All I needed to do was to turn off the simulator and let it get started by the build again.
我需要做的就是关闭模拟器并让它重新开始构建。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.