2013-08-03 112 views
26

我真的停留在如何使用iOS6的和XCode的5图标光泽与iOS 6的Xcode 5.0

我已经经历了这些问题,阅读时,从我的图标删除光泽:

Removing gloss effect from an icon in iOS 4.3

icon already includes gloss effects not working ios 5

How to disable highlighting of the app icon?

现在我的plist看起来是这样的:

<plist version="1.0"> 
<dict> 
    <key>LSApplicationCategoryType</key> 
    <string></string> 
    <key>CFBundleDevelopmentRegion</key> 
    <string>en</string> 
    <key>CFBundleDisplayName</key> 
    <string>${PRODUCT_NAME}</string> 
    <key>CFBundleExecutable</key> 
    <string>${EXECUTABLE_NAME}</string> 
    <key>CFBundleIdentifier</key> 
    <string>com.burton.${PRODUCT_NAME:rfc1034identifier}</string> 
    <key>CFBundleInfoDictionaryVersion</key> 
    <string>6.0</string> 
    <key>CFBundleName</key> 
    <string>${PRODUCT_NAME}</string> 
    <key>CFBundlePackageType</key> 
    <string>APPL</string> 
    <key>CFBundleShortVersionString</key> 
    <string>1.0</string> 
    <key>CFBundleSignature</key> 
    <string>????</string> 
    <key>CFBundleVersion</key> 
    <string>1.0</string> 
    <key>LSRequiresIPhoneOS</key> 
    <true/> 
    <key>UIPrerenderedIcon</key> 
    <true/> 
    <key>UIRequiredDeviceCapabilities</key> 
    <array> 
     <string>armv7</string> 
    </array> 
    <key>UISupportedInterfaceOrientations</key> 
    <array> 
     <string>UIInterfaceOrientationPortrait</string> 
    </array> 
</dict> 
</plist> 

但是,当我在手机上预览应用程序时,光泽效果仍在应用中。任何帮助将非常感激。

+3

论坛已启动,这是您检查的错误网址。我建议删除你的应用程序,并做一个干净的构建。 –

+3

你不能那么坚持,因为无论如何你都不能使用Xcode 5来提交应用程序。 – uchuugaka

回答

116

其实他们已经改变了设置。在您的项目设置下,在常规选项卡下,在应用图标部分下,选择“使用资产目录”。现在在项目文件(最左边的面板)下导航到Images.xcassets文件。现在确保添加应用程序图标和启动图像。重要的是确保“Ios图标已预先呈现”的复选框已启用。查看Images.xcassets文件时,您可以在属性面板(最右侧面板)上找到此选项。这就是它,你可以删除旧图像并做一个干净的,然后建立和运行,你完成。这对我工作... enter image description here

+0

你能提供一个图像指向它在哪里吗?我的属性面板似乎没有显示出来。我正在使用资产目录,我已经设置了所有应用程序图标,并且无法在此处找到该复选框。我使用Xcode5-DP3。韩国社交协会。 –

+0

ive添加了一个图像,并使用xcode DP6 – dubemike

+1

谢谢!我刚刚升级到XCode GM,现在出现勾选框。 –

8

经过大量讨论后发现,这是一个XCode 5和Media.xcassets文件夹用于创建图标的错误。我已向苹果提交了一份错误报告。

1

设置“iOS图标预渲染”后,你必须从设备上删除应用程序,并再次建立运行(在iOS 6.1中)。