Kha icon indicating copy to clipboard operation
Kha copied to clipboard

iOS: AppStore upload error: "Your app supports multitasking... so you must..."

Open Joncom opened this issue 6 years ago • 7 comments
trafficstars

screenshot2

Joncom avatar Jan 19 '19 08:01 Joncom

I don't have time to deal with this properly right now, and frankly I don't care about multitasking support, so I went with the suggestion here: https://stackoverflow.com/a/32563605/1609607 which was to just disable multitasking support for the app, accomplished with the following patch:

diff --git a/Kha/Kore/Backends/System/iOS/Sources/Kore/ios.plist b/Kha/Kore/Backends/System/iOS/Sources/Kore/ios.plist
index 73b87da8..521b2e20 100644
--- a/Kha/Kore/Backends/System/iOS/Sources/Kore/ios.plist
+++ b/Kha/Kore/Backends/System/iOS/Sources/Kore/ios.plist
@@ -28,6 +28,8 @@
        <array>
                <string>armv7</string>
        </array>
+       <key>UIRequiresFullScreen</key>
+       <true/>
        <key>UIStatusBarHidden</key>
        <true/>
        <key>UISupportedInterfaceOrientations</key>

Joncom avatar Jan 19 '19 08:01 Joncom

@RobDangerous, do you have any opinion about what ought to be the official "fix" for this issue going forward for the Kha project? Is multitasking support important?

Edit:

At the very least, I think disabling multitasking by default (as in the patch above) ought to be the default for now. That way everything works out of the box, and we can look at implementing multitasking support as a future feature. What do you think?

Joncom avatar Jan 19 '19 08:01 Joncom

Uff, that's new to me - and ugly, I intentionally avoided that weird launch storyboard thing. Multitasking is important because audio always runs in a separate thread. That thing is a release blocker, I'll look into it this weekend.

RobDangerous avatar Jan 19 '19 10:01 RobDangerous

Wait a minute, that's just about keeping the app running in the background, right? I don't give an excrement about that, I'll go with your fix. No multitasking meant a very different thing in the 80s and 90s...

RobDangerous avatar Jan 20 '19 13:01 RobDangerous

I this context, I believe it means running multiple apps on the screen at the same time.

Joncom avatar Jan 20 '19 13:01 Joncom

It used to be such a simple word. Anyways, I don't want to get involved with that but if anyone needs it and ends up here - please feel free to send a pull request.

RobDangerous avatar Jan 20 '19 13:01 RobDangerous

Opened pull-request (to resolve the issue, but not yet add multitasking support): https://github.com/Kode/Kore/pull/358

Joncom avatar Jan 25 '19 08:01 Joncom