自升级Xcode至V5并将启动和应用程序图标图像转换为图像资产目录,我一直无法在iOS 6.1和iOS 7上的报摊中看到我的应用程序的报摊图标相反,我看到了常规应用程序图标在它的地方。我仍然对iOS SDK 6.1编译,因为iOS 7中的明显样式变化,我还没有深入测试。

所说,这里是我在我的报摊图标上尝试过的东西,图标rediesstand.png:

  1. 将图标 - newsstald.png转换为位于./images.xcassets/icon-newsstand.imageset/con-newsstand.png的资产目录。
  2. 将icon-newsald.png保留在我的资源文件夹中作为项目的一部分。
  3. 这些解决方案都没有工作。这是我的Info.Plist参考。我已经编辑了应用程序名称,才是Fyi。

    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
        <key>CFBundleDevelopmentRegion</key>
        <string>English</string>
        <key>CFBundleDisplayName</key>
        <string>---- ----</string>
        <key>CFBundleExecutable</key>
        <string>${EXECUTABLE_NAME}</string> 
        <key>CFBundleIcons</key>
        <dict>
            <key>UINewsstandIcon</key>
            <dict>
                <key>CFBundleIconFiles</key>
                <array>
                    <string>icon-newsstand.png</string>
                </array>
                <key>UINewsstandBindingEdge</key>
                <string>UINewsstandBindingEdgeLeft</string>
                <key>UINewsstandBindingType</key>
                <string>UINewsstandBindingTypeMagazine</string>
            </dict>
        </dict>
        <key>UIBackgroundModes</key>
        <array>
            <string>newsstand-content</string>
        </array>
        <key>UINewsstandApp</key>
        <true/>
        <key>CFBundleIdentifier</key>
        <string>com.----.----</string>
        <key>CFBundleInfoDictionaryVersion</key>
        <string>6.1</string>
        <key>CFBundleName</key>
        <string>---- ----</string>
        <key>CFBundlePackageType</key>
        <string>APPL</string>
        <key>CFBundleSignature</key>
        <string>????</string>
        <key>CFBundleVersion</key>
        <string>2.0.1.13830</string> <!-- The Version of the app. -->
        <key>LSRequiresIPhoneOS</key>
        <true/>
        <key>UIPrerenderedIcon</key>
        <true/>
        <key>UIStatusBarHidden</key>
        <true/>
        <key>UISupportedInterfaceOrientations</key>
        <array>
            <string>UIInterfaceOrientationPortrait</string>
            <string>UIInterfaceOrientationPortraitUpsideDown</string>
            <string>UIInterfaceOrientationLandscapeLeft</string>
            <string>UIInterfaceOrientationLandscapeRight</string>
        </array>
        <key>UISupportedInterfaceOrientations~ipad</key>
        <array>
            <string>UIInterfaceOrientationPortrait</string>
            <string>UIInterfaceOrientationPortraitUpsideDown</string>
            <string>UIInterfaceOrientationLandscapeLeft</string>
            <string>UIInterfaceOrientationLandscapeRight</string>
        </array>
        <key>CFBundleURLTypes</key>
        <array>
            <dict>
                <key>CFBundleTypeRole</key>
                <string>Editor</string>
                <key>CFBundleURLName</key>
                <string>FB Connect</string>
                <key>CFBundleURLSchemes</key>
                <array>
                    <string>fb150871295037449------</string><!-- The app id must be appended to the end of this string. Example: <string>fb150871295037449connections</string>  -->
                </array>
            </dict>
        </array>
    </dict>
    </plist>
    
    .

    在升级Xcode并转换为图像资产目录后,有人遇到了此处吗?并有没有人有任何想法在哪里开始改变我的项目?到目前为止,我们的搜索,在线和Stackoverflow上的详细信息在报摊和Xcode 5问题方面稀疏。

    我非常感谢任何帮助。谢谢!

有帮助吗?

解决方案

我发现这个问题只是在ipads的情况下发生。自那个发现以来,我意识到我的信息中缺少一节.Plist看起来像这样:

    <key>CFBundleIcons~ipad</key>
    <dict>
        <key>UINewsstandIcon</key>
        <dict>
            <key>CFBundleIconFiles</key>
            <array>
                <string>icon-newsstand.png</string>
            </array>
            <key>UINewsstandBindingEdge</key>
            <string>UINewsstandBindingEdgeLeft</string>
            <key>UINewsstandBindingType</key>
            <string>UINewsstandBindingTypeMagazine</string>
        </dict>
    </dict>
.

神秘解决!

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top