Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

UIApplicationExitsOnSuspend warning in Transporter
Started by Maciej C Jan 10 2020 12:54 PM

5 replies to this topic
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

Maciej C

[GLOBAL: userInfoPane.html]
Maciej C
  • Observer

  • 28 posts
  • Corona SDK

When submitted app got error like that. How do we prevent apps from being killed when go into suspend if this will not be accepted anymore by apple?



[TOPIC: post.html]
#2

agramonte

[GLOBAL: userInfoPane.html]
agramonte
  • Corona Geek

  • 1,307 posts
  • Corona SDK

https://forums.coronalabs.com/topic/75711-uiapplicationexitsonsuspend-warning-in-application-loader/



[TOPIC: post.html]
#3

Maciej Czekala

[GLOBAL: userInfoPane.html]
Maciej Czekala
  • Enthusiast

  • 74 posts
  • Corona SDK

no, that is not the problem. This parameter is no more supported by iOS. What to do now?



[TOPIC: post.html]
#4

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 26,539 posts
  • Enterprise

Can you share your build.settings?
 



[TOPIC: post.html]
#5

amandaelinn

[GLOBAL: userInfoPane.html]
amandaelinn
  • Observer

  • 17 posts
  • Corona SDK

If we need to remove this line, what can we replace it with to keep it from exiting? Or does apple no longer support not allowing an app to exit on suspend?

 

We've been setting it to UIApplicationExitsOnSuspend = false



[TOPIC: post.html]
#6

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 26,539 posts
  • Enterprise

Apple has defaulted to false for a long time (since maybe iOS 8). So they are removing this key since it's no longer needed. There is a term in the computer industry called "Tech Debt" or technical debt and having legacy code sitting around not doing thing adds to your tech debt and it's important to purge all of this old code to keep the good code clean.

 

Rob




[topic_controls]
[/topic_controls]