gpt4 book ai didi

ios - 提交 App UIApplicationExitsOnSuspend 时出现错误 ITMS-90040

转载 作者:行者123 更新时间:2023-11-29 00:45:35 25 4
gpt4 key购买 nike

我正在尝试提交我的应用程序,但当我尝试提交它时出现此错误。我正在查看构建文件和 plist,但无法弄清楚我需要在哪里更改它来修复它。

感谢您对此提供的任何帮助。

ERROR ITMS-90040: "If the value of UIApplicationExitsOnSuspend is Yes, your app must not specify any values in the UIBackgroundModes key. If your app uses background services, the value of UIApplicationExitsOnSuspend must be No. For more information, refer to the Information Property List Key Reference."
ERROR ITMS-90040: "If the value of UIApplicationExitsOnSuspend is Yes, your app must not specify any values in the UIBackgroundModes key. If your app uses background services, the value of UIApplicationExitsOnSuspend must be No. For more information, refer to the Information Property List Key Reference."

我需要在我的 plist 文件中添加另一个项目吗? enter image description here

最佳答案

Required Background Modes 有两个值,并且 Application does not run in background 设置为 yes - 这是矛盾的。您的应用程序使用后台模式,或者您不希望它在后台运行。

Application does not run in background 的典型值为no。将其设置为 yes 会提供 iOS 3.2 之前的行为,当用户按下主页按钮时,您的应用程序将终止并从内存中删除。

即使您不使用后台模式,您通常也会将Application does not run in background设置为no,这样您的应用程序就不需要完全重启用户切换进入和退出。

关于ios - 提交 App UIApplicationExitsOnSuspend 时出现错误 ITMS-90040,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38649546/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com