kivy / kivy-ios

Toolchain for compiling Python / Kivy / other libraries for iOS
https://kivy.org/docs/guide/packaging-ios.html
MIT License
759 stars 238 forks source link

App crashes on physical devices when using buttons. #706

Closed momomomomos closed 2 years ago

momomomomos commented 2 years ago

Versions

Describe the bug I start the test on a emulator, I'll get the logs of info you do when starting a kivy app, and it all works smoothly. When I attempt to do this on my ios 14.2 phone, it gives me the logs, then says dlopen fallback error. Despite this, it still opens the app. The text input works, but all the buttons do not. After you click a button, it will say (name) was compiled with optimization - stepping may behave oddly; variables may not be available.​

To Reproduce Create a toolchain app, run it. My app does use audio, if that changes anything. Also iphone 7 and below isn't available in xcode. Maybe there isn't support with it.

Expected behavior My app doesn't crash when hitting buttons.

Logs

(Name) was compiled with optimization - stepping may behave oddly; variables may not be available.​ 
akshayaurora commented 2 years ago

@momomomomos can you please post the backtrace.

momomomomos commented 2 years ago

Please disregard, I just had sound and didn't add the right frameworks

momomomomos commented 1 year ago

I would like to let anybody reading know that this was solved by me using avf audio framework. What was happening was that i was playing audio when the button was clicked but i did not have an audio framework to support it so the app had crashed