2013-08-03 56 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中)。