-
-
Notifications
You must be signed in to change notification settings - Fork 371
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lime 7.8.0 introduces Bluetooth dependencies on iOS that will cause app rejections #1429
Comments
I have approximately zero experience with Bluetooth and haven't interacted with Apple in years, but I wonder if the problem isn't specifically 43666e8, but rather something to do with native-toolkit. I say this because the Lime repo doesn't seem to directly interact with Bluetooth, whereas native-toolkit/sdl does. From a quick glance at Apple's documentation, CoreBluetooth (which is referenced in 43666e8) doesn't appear to be related to GameKit, so it seems unlikely to be the cause of this error. In fact, neither Lime nor native-toolkit/sdl seem to reference GameKit at all. My main problem here is that Apple's rejection notice is frustratingly useless. Are they talking about CoreBluetooth or something else? What functions are being called that shouldn't be? Where do we even begin to search for the problem? Try getting in touch with their support team to find out more. |
I think you're right. I expect it's due to the SDL update that happened in
7.8.0. The changelogs report introducing Bluetooth gamepad support in iOS.
Bet that did it.
…On Mon., Aug. 31, 2020, 7:17 p.m. player-03, ***@***.***> wrote:
I have approximately zero experience with Bluetooth and haven't interacted
with Apple in years, but I wonder if the problem isn't specifically
43666e8
<43666e8>,
but rather something to do with native-toolkit
<native-toolkit/libsdl@370d055>.
I say this because the Lime repo doesn't seem to directly interact with
Bluetooth, whereas native-toolkit/sdl does.
From a quick glance at Apple's documentation, CoreBluetooth (which is
referenced in 43666e8
<43666e8>)
doesn't appear to be related to GameKit, so it seems unlikely to be the
cause of this error. In fact, neither Lime nor native-toolkit/sdl seem to
reference GameKit at all.
My main problem here is that Apple's rejection notice is frustratingly
useless. Are they talking about CoreBluetooth or something else? What
functions are being called that shouldn't be? Where do we even begin to
search for the problem?
Try getting in touch with their support team to find out more.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1429 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABFIQAY53EO2PJQMCLVDDV3SDQVQBANCNFSM4QPZMZEA>
.
|
This doesn't affect just publishing. In the right circumstances, it will even cause testing of the app to crash.
In other words, just testing a new app using Xcode 11 and an iOS 13 or greater device will immediately crash. The fix is pretty simple though. Just change one line in SDL (I've made a PR), and then remove the bluetooth dependency from lime. |
Try out this commit and see if its working now (make sure you |
Hello, I faced the similar problem. Compiling iOS project showed me following error on lime 7.8.0:
I switched to the develop branch of lime and tried to recompile lime libs for iOS platform: And there is the error about a joystick:
|
I looked into flashup's error. The import of @property (nonatomic, strong) dispatch_queue_t [ ... ] Apparently, HXCPP's iOS toolchains both specify the iOS deployment target to a hardcoded value of 5.0 (shows up as Of course lime's native binaries can just be rebuilt with an earlier iOS SDK, and it'll still work on the newer iOS devices. This will need to be fixed eventually, but it's unrelated to the bluetooth issue here. |
Could we add a compiler flag that turns bluetooth support on and off for ios targets? |
Commit 43666e8 introduces a Bluetooth dependency on iOS that Apple really doesn't like. I don't use Bluetooth, but Apple rejected an app built with Lime 7.8.0 with the following statement:
The text was updated successfully, but these errors were encountered: