iPad上缺少ios11 iphone app图标
我有一个仅限iPhone的应用程序,但它也适用于iPad的兼容模式(毫不奇怪)。
I have an iPhone only app but it works in compatibility mode in the iPad too(no surprises).
但在我更新了ios11的应用程序后,iPad上的应用程序图标丢失了。
but after I updated the app for the ios11, app icon on the iPad is missing.
这是我尝试过的;
- 在iPhone模拟器上启动,图标出现
- 在iPad模拟器上启动,图标丢失
here is what I've tried; - launch on the iPhone simulator, icon appears - launch on the iPad simulator, icon is missing
从iphone更改设备选项为了通用,运行iPad模拟器,图标出现,但应用程序需要一个新的iPad ui。
change the device options from "iphone" to "universal", run the iPad simulator, icon appears but app needs a new iPad ui.
更改回iPhone并且iPad中的应用程序图标再次丢失。真的很混乱。
change back to "iPhone" and the app icon is missing again in iPad. really confusing.
我尝试创建一个新项目并进行相同的更改,但永远无法再次丢失图标。
I tried to create a new project and make the same changes but never able to make the icon missing again.
如果有任何意义,我正在使用可可豆荚。
I'm using cocoa pods if that makes any sense.
我想我错过了一个设置或别的东西,我真的很想找到它,任何建议都会非常感激。
I think I'm missing a settings or something else, I'm really trying to find it, any advice would be greatly appreciated.
我发现了问题。
在info.plist中,有一个额外的或有问题的条目。
- CFBundleIcons~ipad
In info.plist, there was an extra or problematic entry. - CFBundleIcons~ipad
删除此行,iPad图标正常显示。
Remove this line and iPad icons appear normally.