Xcode 5 iOS 6.1 SDK에있는 뉴스 스탠드 아이콘이 표시되지 않습니다.
-
20-12-2019 - |
문제
Xcode를 V5로 업그레이드하고 실행 및 응용 프로그램 아이콘 이미지를 이미지 자산 카탈로그로 변환하기 때문에 iOS 6.1 및 iOS 7의 뉴스 스탠드에서 내 앱의 뉴스 스탠드 아이콘을 볼 수 없었습니다. 대신 일반 앱 아이콘을 참조하십시오. 그 곳에서. IOS 7의 명백한 스타일의 변화 때문에 IOS SDK 6.1에 대해 여전히 iOS SDK 6.1에 대해 컴파일합니다. 아직 깊이 테스트 할 수 없었습니다.
여기에 내가 뉴스 스탠드 아이콘, 아이콘 - newsstand.png :
에 시도한 것입니다.- icon-newsstand.png ./images.xcassets/icon-newsstand.imageset/icon-newsstand.png에있는 자산 카탈로그로 변환하십시오.
- ICON-Newsstand.png 내 리소스 폴더에서 프로젝트의 일부로
이러한 솔루션이 작동하지 않습니다. 다음은 참조 용으로 내 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만으로 일어나고 있다는 것을 알았습니다.그 발견 이후, 나는이 정보와 같은 내 정보에서 누락 된 섹션이 있음을 깨달았습니다.
<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