flutter ios打包上传app store的一些报错问题

一、 上传app到 app store出现以下问题:

A downloaded software component is corrupted and will not be used.(如图)
在这里插入图片描述

检查Xcode版本:

Xcode11以后移除Application Loder.app
解决方法:

  1. 下载Loder.app
  2. 放进 /Applications/Xcode.app/Contents/Applications/Application 目录下
  3. 打开文件夹:
    /Applications/Xcode.app/Contents/Applications/Application Loader.app/Contents/itms/bin/iTMSTransporter
    双击iTMSTransporter,会重新下载图中的2个jar文件,正常执行完,重新上传包即可。

二、 flutter ipa安装后打开出现白屏:

在测试时蒲公英下载,安装应用后打开出现白屏:
解决方法:

  1. 执行flutter clean
  2. 执行flutter build ios --release
  3. 打开xcode,点击product 选择 archive 。这里千万不要动任何其他设置,否则会白屏。

最后上传蒲公英等测试平台即可

  • 参考:https://jingyan.baidu.com/article/4f7d571283ae4a5b2019279d.html

三、 flutter ipa从蒲公英安装后图标变黑:

解决方式:添加相应的手机的UUID

四、 flutter ipa上传报错:

在这里插入图片描述
具体内容:

ERROR ITMS-90771: “Missing Info.plist value. The Info.plist key ‘BGTaskSchedulerPermittedIdentifiers’ must contain a list of identifiers used to submit and handle tasks when ‘UIBackgroundModes’ has a value of ‘processing’. For more information, refer to the Information Property List Key Reference at https://developer.apple.com/library/ios/documentation/General/Reference/InfoPlistKeyReference/Introduction/Introduction.html.”

解决方式:1.找到info.plist
2. 找到BGTaskSchedulerPermittedIdentifiers

<key>BGTaskSchedulerPermittedIdentifiers</key>
	<array>
		<string>唯一值(*建议是Xcode 里的Bundle Identifier</string>
	</array>
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值