为什么我的iPhone应用程序的图标在构建后就被划掉了? [英] Why is the icon for my iPhone app crossed-out after a build?
问题描述
我刚刚构建了我的第一个iPhone应用程序,但是其图标显示为划线.构建代码时确实有一些警告,但是为什么它们会导致应用程序图标越过?我的应用没有错误.
I have just built my first iPhone app, but its icon appears crossed-out. I do have some warnings when I build the code, but why would they cause the app icon to cross? My app has no errors.
以下是该图标的外观:
推荐答案
这完全没问题!这只是意味着您的应用程序无法通过iOS设备构建在Mac上执行,这正是您想要的.
This is completely fine! It just means that your app can't execute on your mac, which is exactly what you want, with an iOS Device build.
(如果您进行的构建没有交叉之处,则可能是您不小心为模拟器构建了应用程序.很高兴知道,因为将来可能会出现一个微妙的问题.)
(If you ever do a build that doesn't have that cross on it, you've accidentally built your app for the simulator. Good to know, for a subtle future issue that might pop up.)
这篇关于为什么我的iPhone应用程序的图标在构建后就被划掉了?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!