将.ipa文件上传到应用程序加载器时出现错误
问题描述:
我正在开发Xamarin Ios应用程序。当将.ipa文件上传到应用程序加载器时出现以下错误。并且我的Info.plist中没有Ipad pro,如下所示: 将.ipa文件上传到应用程序加载器时出现错误
我该如何解决这个问题,请帮助我。
答
我遇到了以及有关Visual Studio的这个图标的大小一些怪异的行为。
确保在您的Resources
文件夹中有另一个图标[email protected]
,并将生成操作设置为BundleResource
。
现在重建您的项目。检查info.plist
文件,如果您有像这样的条目:<string>[email protected]</string>
。 如果你这样做,你可以提交该IPA。如果它不在那里,请手动将其置于CFBundleIconFiles
键之下,然后重新进行重建。
<key>CFBundleIconFiles</key>
<array>
<string>[email protected]</string>
<string>Icon-72.png</string>
<string>[email protected]</string>
<string>Icon.png</string>
<string>[email protected]</string>
<string>Icon-76.png</string>
<string>[email protected]</string>
<string>[email protected]</string>
<string>[email protected]</string>
<string>[email protected]</string>
<string>Icon-Small-50.png</string>
<string>Icon-Small-40.png</string>
<string>[email protected]</string>
<string>Icon-Small.png</string>
<string>[email protected]</string>
</array>
仔细检查该条目未被构建过程擦除。如果它没有提交你的ipa到商店。
所有这一切的缺点是,正如我遇到过的那样,该条目是由构建过程从列表中删除的。或者更具体地说,当我更改影响info.plist
文件的项目选项中的任何内容时。
另一种解决此问题的方法是切换到资产目录。