kivy / kivy-ios

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

Can't Input text on IOS17.2 Simulator with Xcode 15.1 #888

Closed mingdong1 closed 9 months ago

mingdong1 commented 9 months ago

Versions

Describe the bug -[RTIInputSystemClient remoteTextInputSessionWithID:performInputOperation:] perform input operation requires a valid sessionID Type: Error | Timestamp: 2024-01-10 15:31:15.737626+08:00 | Process: plataneiot | Library: RemoteTextInput | Subsystem: com.apple.RemoteTextInput | Category: RTILog | TID: 0x261d0

To Reproduce [INFO ] Using the bundled version for recipe 'audiostream' audiostream master
[INFO ] Using the bundled version for recipe 'click' click 7.1.2
[INFO ] Using the bundled version for recipe 'curly' curly master
[INFO ] Using the bundled version for recipe 'cymunk' cymunk master
[INFO ] Using the bundled version for recipe 'ffmpeg' ffmpeg n4.4.2
[INFO ] Using the bundled version for recipe 'ffpyplayer' ffpyplayer v4.3.5
[INFO ] Using the bundled version for recipe 'flask' flask 1.1.2
[INFO ] Using the bundled version for recipe 'freetype' freetype 2.5.5
[INFO ] Using the bundled version for recipe 'hostopenssl' hostopenssl 1.1.1l
[INFO ] Using the bundled version for recipe 'hostpython3' hostpython3 3.10.10 [INFO ] Using the bundled version for recipe 'ios' ios master
[INFO ] Using the bundled version for recipe 'itsdangerous' itsdangerous 1.1.0
[INFO ] Using the bundled version for recipe 'jinja2' jinja2 2.11.2
[INFO ] Using the bundled version for recipe 'kivent_core' kivent_core master
[INFO ] Using the bundled version for recipe 'kivy' kivy 2.2.1
[INFO ] Using the bundled version for recipe 'libcurl' libcurl 7.65.3
[INFO ] Using the bundled version for recipe 'libffi' libffi 3.4.2
[INFO ] Using the bundled version for recipe 'libjpeg' libjpeg v9d
[INFO ] Using the bundled version for recipe 'libpng' libpng 1.6.40
[INFO ] Using the bundled version for recipe 'libzbar' libzbar 0.10
[INFO ] Using the bundled version for recipe 'markupsafe' markupsafe 1.1.1
[INFO ] Using the bundled version for recipe 'netifaces' netifaces 0.10.9
[INFO ] Using the bundled version for recipe 'numpy' numpy 1.24.2
[INFO ] Using the bundled version for recipe 'openssl' openssl 1.1.1l
[INFO ] Using the bundled version for recipe 'photolibrary' photolibrary master
[INFO ] Using the bundled version for recipe 'pillow' pillow 8.2.0
[INFO ] Using the bundled version for recipe 'plyer' plyer master
[INFO ] Using the bundled version for recipe 'py3dns' py3dns 3.2.1
[INFO ] Using the bundled version for recipe 'pycrypto' pycrypto 2.6.1
[INFO ] Using the bundled version for recipe 'pykka' pykka 1.2.1
[INFO ] Using the bundled version for recipe 'pyobjus' pyobjus master
[INFO ] Using the bundled version for recipe 'python3' python3 3.10.10 [INFO ] Using the bundled version for recipe 'pyyaml' pyyaml 3.11
[INFO ] Using the bundled version for recipe 'sdl2' sdl2 2.24.1
[INFO ] Using the bundled version for recipe 'sdl2_image' sdl2_image 2.6.2
[INFO ] Using the bundled version for recipe 'sdl2_mixer' sdl2_mixer 2.6.2
[INFO ] Using the bundled version for recipe 'sdl2_ttf' sdl2_ttf 2.20.2
[INFO ] Using the bundled version for recipe 'werkzeug' werkzeug 1.0.1
[INFO ] Using the bundled version for recipe 'zbarlight' zbarlight 3.0

Expected behavior

The code working fine in Mac OS and Windows, and after to Xcode it will can't input text anyway.And show the message: -[RTIInputSystemClient remoteTextInputSessionWithID:performInputOperation:] perform input operation requires a valid sessionID

Logs [INFO ] [Python ] v3.10.10 (main, Nov 8 2023, 11:19:35) [Clang 15.0.0 (clang-1500.0.40.1)] [INFO ] [Logger ] Purge log fired. Processing... [INFO ] [Logger ] Purge finished! [INFO ] [Factory ] 190 symbols loaded [INFO ] [Image ] Providers: img_imageio, img_tex, img_sdl2 (img_dds, img_ffpyplayer, img_pil ignored) [INFO ] [Text ] Provider: sdl2 [INFO ] [Window ] Provider: sdl2 You need UIApplicationSupportsIndirectInputEvents in your Info.plist for mouse support [INFO ] [GL ] Using the "OpenGL ES 2" graphics system [INFO ] [GL ] Backend used [INFO ] [GL ] OpenGL version <b'OpenGL ES 2.0 APPLE-21.0.15'> [INFO ] [GL ] OpenGL vendor <b'Apple Inc.'> [INFO ] [GL ] OpenGL renderer <b'Apple Software Renderer'> [INFO ] [GL ] OpenGL parsed version: 2, 0 [INFO ] [GL ] Shading version <b'OpenGL ES GLSL ES 1.00'> [INFO ] [GL ] Texture max size <4096> [INFO ] [GL ] Texture max units <8> [INFO ] [Window ] auto add sdl2 input provider [INFO ] [Window ] virtual keyboard not allowed, single mode, not docked [INFO ] [Base ] Start application main loop [INFO ] [Clipboard ] Provider: sdl2 [INFO ] [GL ] NPOT texture support is available

-[RTIInputSystemClient remoteTextInputSessionWithID:performInputOperation:] perform input operation requires a valid sessionID

Additional context Add any other context about the problem here.

github-actions[bot] commented 9 months ago

👋 We use the issue tracker exclusively for bug reports and feature requests. However, this issue appears to be a support request. Please use our support channels to get help with the project. For troubleshooting advice and other frequently asked questions, consult the latest Kivy for iOS FAQ. Let us know if this comment was made in error, and we'll be happy to reopen the issue.