Xamarin - 提交的应用程序 - 细化过程中发生错误 [英] Xamarin - Submitted App - Error occurred in thinning process

查看:30
本文介绍了Xamarin - 提交的应用程序 - 细化过程中发生错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我向 Appstore 提交了一个应用,但被拒绝并显示以下消息:

I submitted an app to the Appstore but it gets refused with this message:

While processing your iOS app, Appname, errors occurred in the app thinning process, 
and your app couldn’t be thinned. If your app contains bitcode, bitcode processing 
may have failed. Because of these errors, this build of your app will not be 
able to be submitted for review or placed on the App Store. 
For information that may help resolve this issue, see Tech Note 2432. 

我在构建 iphone 部分将它添加到我的 cproj 文件中:

I added this to my cproj file in the build iphone section:

<MtouchEnableBitcode>false</MtouchEnableBitcode>

我也按照这个来解决 UIWebView 问题.不知道是否相关:

I also folowed this to solve the UIWebView problem. no idea if it is related:

https://devblogs.microsoft.com/xamarin/uiwebview-弃用-xamarin-forms/

还将所有软件包更新到最新版本,尝试将最低目标操作系统设置为 9.0 尝试将 enablebitcode 设置为 true,尝试了我在网上能找到的所有内容但没有任何结果..

also updated all the packages to the latest, tried to put the minimum target OS to 9.0 tried to put enablebitcode to true, tried everything i was able to find online but without any result..

我使用的 Nuget 包:

Nuget packages I use:

在主项目中:

Newtonsoft.Json
RedCorner.Forms
SkiaSharp
sqlite-net-pcl
Xamarin.essentials
xamarin.ffimageloading
xamarin.ffimageloading.forms
xamarin.ffimageloading.svg
xamarin.ffimageloading.svg.forms
xamarin.ffimageloading.transformations
xamarin.forms

IOS项目内部:

sqlite-net-pcl
xamarin.essentials
xamarin.forms

这些都是最新的...该应用程序在模拟器中编译并运行良好..

These are all up to date... the app compiles and works great in the simulator..

知道如何解决这个令人沮丧的问题吗?

Any idea on how I can sovle this frustrating problem?

更新:

尝试在 Xamarin 中打包,然后在 xcode 中以 ad Hoc 模式分发,并在那里抛出此错误:

tried to package in Xamarin and then distribute in ad Hoc mode in xcode, and there it throws this error:

 Failed to read property list: $ cd 
/var/folders/pm/pwvftt8s1vbg4q6nj04blyym0000gn/T/
IDEDistributionOptionThinning.\~\~\~WPqMdz/Payload && /usr/bin/plutil -convert binary1 -o - -- GalShare.iOS.app/LaunchScreen.storyboardc/Info.plist
Status: pid 7230 exit 1
Stdout:
GalShare.iOS.app/LaunchScreen.storyboardc/Info.plist: Property List error: 
Cannot parse a NULL or zero-length data / JSON error: No value.

Stderr:

推荐答案

问题是spashscreen中没有有效的图像..添加图像解决了问题

The problem was that there was no valid image in the spashscreen.. adding an image fixed the problem

这篇关于Xamarin - 提交的应用程序 - 细化过程中发生错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆