我正在 VS 中为连接到 MacinCloud 的 Windows 开发一个适用于 iOS 的 Xamarin-App。当我在 MacinCloud 的应用程序加载器中将我的应用程序部署为 ipa 文件时,没有任何错误。但每次我收到苹果发来的电子邮件时都会出现以下错误:
缺少资产目录 - 您的应用程序缺少“MyProject.iOS.app”中的资产目录文件。欲了解更多信息,请参阅http://help.apple.com/xcode/mac/current/#/dev10510b1f7 http://help.apple.com/xcode/mac/current/#/dev10510b1f7.
Here (https://answers.unrealengine.com/questions/719222/how-to-deal-with-missing-asset-catalog-response-fr.html https://answers.unrealengine.com/questions/719222/how-to-deal-with-missing-asset-catalog-response-fr.html) 我发现我的 ipa 文件中缺少 Assets.car 文件。怎样才能生产出来呢?
我的项目结构:
你看,我里面有所有必要的图标!否则应用程序加载器会导致错误。
Also in 信息表 I have:
<key>XSAppIconAssets</key>
<string>Resources/Media.xcassets/AppIcons.appiconset</string>
<key>XSLaunchImageAssets</key>
<string>Resources/Media.xcassets/LaunchImages.launchimage</string>
<key>CFBundleIcons</key>
<dict>
<key>CFBundlePrimaryIcon</key>
<dict>
<key>CFBundleIconName</key>
<string>Icon</string>
<key>CFBundleIconFiles</key>
<array>
<string>AppStore.png</string>
<string>[email protected] /cdn-cgi/l/email-protection</string>
<string>[email protected] /cdn-cgi/l/email-protection</string>
<string>[email protected] /cdn-cgi/l/email-protection</string>
<string>Icon-76.png</string>
<string>[email protected] /cdn-cgi/l/email-protection</string>
<string>Icon-Small.png</string>
<string>[email protected] /cdn-cgi/l/email-protection</string>
<string>[email protected] /cdn-cgi/l/email-protection</string>
<string>Icon-Small-20.png</string>
<string>[email protected] /cdn-cgi/l/email-protection</string>
<string>[email protected] /cdn-cgi/l/email-protection</string>
<string>Icon-Small-40.png</string>
<string>[email protected] /cdn-cgi/l/email-protection</string>
<string>[email protected] /cdn-cgi/l/email-protection</string>
</array>
</dict>
</dict>
我正在使用以下版本:
- VS 15.7.4 与 Xamarin.iOS 11.12.0.4
- MacinCloud 与 VS for Mac 7.5.3、Xamarin.iOS 11.12.0.4 和 Xcode 9.4.1
我找到了原因:路径资源/Media.xcassets/AppIcons.appiconset不存在。它是Media.xcassets/AppIcons.appiconset。我不知道为什么 Visual Studio 添加了这个..
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)