一、 上传app到 app store出现以下问题:
A downloaded software component is corrupted and will not be used.(如图)
检查Xcode版本:
Xcode11以后移除Application Loder.app
解决方法:
- 下载Loder.app
- 放进 /Applications/Xcode.app/Contents/Applications/Application 目录下
- 打开文件夹:
/Applications/Xcode.app/Contents/Applications/Application Loader.app/Contents/itms/bin/iTMSTransporter
双击iTMSTransporter,会重新下载图中的2个jar文件,正常执行完,重新上传包即可。
二、 flutter ipa安装后打开出现白屏:
在测试时蒲公英下载,安装应用后打开出现白屏:
解决方法:
- 执行flutter clean
- 执行flutter build ios --release
- 打开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>