You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MacOS version : macOS Monterey 12.5 - Macbook M1 Pro
XCode Version : 14 beta 3
Describe the bug
Facing 'dynamic module does not define module export function (PyInit__objc)' error while trying to import the PyObjC library in Kivy app
To Reproduce
I installed the PyObjC library in my kivy env( https://pyobjc.readthedocs.io/) using toolchain pip install pyobjc. After that, I added the 'import objc' in main.py, built the iOS app, and ran it on my device only to end up with dynamic module does not define module export function (PyInit__objc) error. I am not facing issues with the pyobjus library(kivy's objc-python bridge) but I want to use PyObjC in my project for legacy reasons. Does anyone have a clue why this might be happening? Any help would be much appreciated! Thank you
Logs
File "/Applications/kivy-app.app/lib/python3.9/site-packages/CoreFoundation/__init__.py", line 9, in <module>
import objc
File "/Applications/kivy-app.app/lib/python3.9/site-packages/objc/__init__.py", line 6, in <module>
from . import _objc
File "<string>", line 48, in load_module
File "/Users/harshith/my_kivy_project/dist/root/python3/lib/python3.9/imp.py", line 342, in load_dynamic
ImportError: dynamic module does not define module export function (PyInit__objc)
2022-08-10 12:21:13.879471-0700 kivy-app[2965:128604] Application quit abnormally!
2022-08-10 12:21:13.886457-0700 kivy-app[2965:128604] Leaving```
The text was updated successfully, but these errors were encountered:
👋 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.
If you're having trouble installing or using kivy-ios, maybe you could be interested to installation and requirements.
Let us know if this comment was made in error, and we'll be happy to reopen the issue.
Versions
Describe the bug
Facing 'dynamic module does not define module export function (PyInit__objc)' error while trying to import the PyObjC library in Kivy app
To Reproduce
I installed the PyObjC library in my kivy env( https://pyobjc.readthedocs.io/) using toolchain pip install pyobjc. After that, I added the 'import objc' in main.py, built the iOS app, and ran it on my device only to end up with dynamic module does not define module export function (PyInit__objc) error. I am not facing issues with the pyobjus library(kivy's objc-python bridge) but I want to use PyObjC in my project for legacy reasons. Does anyone have a clue why this might be happening? Any help would be much appreciated! Thank you
Logs
The text was updated successfully, but these errors were encountered: