答案 0 :(得分:0)
使用来自Here的信息,我能够成功上传我的应用程序。要使Assets.xcassets文件夹显示在解决方案资源管理器中,您只需将文件夹从文件资源管理器中拖动到树中所需的位置即可。我的内容json文件中的文件名也不正确,因此一旦更新,图标就会正确显示。
<?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>UIDeviceFamily</key>
<array>
<integer>1</integer>
<integer>2</integer>
</array>
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</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>MinimumOSVersion</key>
<string>8.0</string>
<key>CFBundleDisplayName</key>
<string>Contractor App</string>
<key>CFBundleIdentifier</key>
<string>com.company.contractor</string>
<key>CFBundleVersion</key>
<string>1.0</string>
<key>CFBundleShortVersionString</key>
<string>1</string>
<key>XSLaunchImageAssets</key>
<string>Assets.xcassets/LaunchImages.launchimage</string>
<key>CFBundleIcons</key>
<dict>
<key>CFBundlePrimaryIcon</key>
<dict>
<key>CFBundleIconName</key>
<string>icon</string>
<key>CFBundleIconFiles</key>
<array>
<string>icon-20.png</string>
<string>icon-29.png</string>
<string>icon-40.png</string>
<string>icon-58.png</string>
<string>icon-60.png</string>
<string>icon-76.png</string>
<string>icon-80.png</string>
<string>icon-87.png</string>
<string>icon-120.png</string>
<string>icon-152.png</string>
<string>icon-167.png</string>
<string>icon-180.png</string>
<string>icon-1024.png</string>
</array>
</dict>
</dict>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<key>CFBundleName</key>
<string>Contractor App</string>
<key>XSAppIconAssets</key>
<string>Assets.xcassets/AppIcon.appiconset</string>
</dict>
</plist>