ERROR ITMS

编程入门 行业动态 更新时间:2024-10-13 02:20:26
ERROR ITMS-90040用于提交App UIApplicationExitsOnSuspend(ERROR ITMS-90040 for submitting App UIApplicationExitsOnSuspend)

我正在尝试提交我的应用程序但是当我尝试提交时我收到此错误。 我正在查看构建文件和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文件中添加其他项吗?

I am trying to submit my app but i get this error when I try to submit it. I am looking over the build file and plist but can't figure out where I need to change this to fix it.

Thank you for any help with this.

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."

do I need to add another item in my plist file?

最满意答案

您有两个必需背景模式的值,并且您还有应用程序不在后台运行设置为 - 这是矛盾的。 您的应用使用后台模式,或者您不希望它在后台运行。

Application的典型值不在后台运行 。 将其设置为yes会给出iOS 3.2之前的行为,当用户按下主页按钮时,应用程序将终止并从内存中删除。

即使您不使用后台模式,通常也会将应用程序在后台运行时设置为no,以便在用户切换进出应用程序时不需要完全重新启动应用程序。

You have two values for Required Background Modes and you also have Application does not run in background set to yes - this is contradictory. Either your app uses background modes or you don't want it to run in the background.

The typical value for Application does not run in background is no. Setting it to yes gives the pre-iOS 3.2 behaviour where your app is terminated and removed from memory when the user presses the home button.

Even if you do not use background modes, you would typically set Application does not run in background to no so that your app doesn't need to completely restart when the user switches in and out of it.

更多推荐

本文发布于:2023-08-04 02:42:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1405333.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:ERROR   ITMS

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!