在我的Mac上更新我的Xamarin,xCode并尝试上传到App Store之后,我收到了来自Apple的这种电子邮件:
缺少Info.plist值 - 捆绑包'com.xxxx.yyyy'中缺少Info.plist键'CFBundleIconName'的值.使用iOS 11或更高版本SDK构建的应用必须在资产目录中提供应用图标,并且还必须为此Info.plist密钥提供值.有关详细信息,请参阅http://help.apple.com/xcode/mac/current/#/dev10510b1f7.一旦纠正了这些问题,您就可以重新更新已更正的二进制文件.
据我所知,我需要将我的图标转换为资产目录,但我不知道如何在Visual Studio 2015(Windows)中执行此操作?这是我的info.plist的一部分:
<key>CFBundleDisplayName</key>
<string>Name - Online</string>
<key>CFBundleIdentifier</key>
<string>com.xxxxx.xxxxxx</string>
<key>CFBundleVersion</key>
<string>3.4</string>
<key>CFBundleIconFiles</key>
<array>
<string>Icon-72@2x.png</string>
<string>Icon-72.png</string>
<string>Icon@2x.png</string>
<string>Icon.png</string>
<string>Icon-60@2x.png</string>
<string>Icon-76.png</string>
<string>Icon-76@2x.png</string>
<string>Default.png</string>
<string>Default@2x.png</string>
<string>Default-568h@2x.png</string>
<string>Default-Landscape.png</string>
<string>Default-Landscape@2x.png</string>
<string>Default-Portrait.png</string>
<string>Default-Portrait@2x.png</string>
<string>Icon-Small-50@2x.png</string>
<string>Icon-Small-50.png</string>
<string>Icon-Small-40.png</string>
<string>Icon-Small-40@2x.png</string>
<string>Icon-Small.png</string>
</array>
<key>CFBundleShortVersionString</key>
<string>4.4</string>
Run Code Online (Sandbox Code Playgroud)