我正在尝试提交我的应用程序但是当我尝试提交时我收到此错误。 我正在查看构建文件和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.
更多推荐
发布评论