NewsStandのアイコンはXcode 5 iOS 6.1 SDKに表示されません
-
20-12-2019 - |
質問
XcodeをV5にアップグレードし、起動とアプリのアイコンの画像をイメージアセットカタログにアップグレードするので、iOS 6.1とiOS 7のニューススタンドで私のアプリのニューススタンドアイコンを見ることができませんでした。その代わりに。私はIOS 7の明らかなスタイルの変更のため、IOS 7では明らかにスタイルの変更のために、IOS SDK 6.1に対してまだコンパイルしています。
言った、ここに私が私のニューススタンドのアイコン、icon-newsstand.png:
- ICON-NEWSSTAND.PNGを./images.xcassets/icon-newsstand.imageset/iCon-newsStand.png。
- ICON-NEWSSTAND.PNGをプロジェクトの一部としてのマイリソースフォルダに保存します。
これらの解決策はうまくいかない。これが参考のための私のinfo.plistです。私はアプリの名前を編集しました。
<?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についての詳細は、NewsStandとXcode 5の問題に関してスパースしています。
私は助けを大いに感謝します。ありがとうございました!
解決
私は問題がiPadでのみ起こっていたことを発見しました。その発見以来、私はこのような私のinfo.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>
.
ミステリーが解決しました!
所属していません StackOverflow