-
Notifications
You must be signed in to change notification settings - Fork 250
Open
Description
Versions
- Python : 3.7.12 and 3.8.2
- MacOS version : Big Sur and Catalina
- XCode Version : 12.4 and12.5.1
- Cython version : 0.29.24
We were able to test on those versions but it probably affects any version.
Describe the bug
toolchain build myrecipe --add-custom-recipe /path/to/myrecipe
builds the recipe correctly but doesn't add the .a
file to the XCode project. If you drag and drop it under Frameworks
then everything just works.
To Reproduce
toolchain build myrecipe --add-custom-recipe /path/to/myrecipe
You can use this simple recipe to test it. It's a simple Cython recipe that queries the iOS version.
Expected behavior
The .a
file should be automatically added under the Frameworks
folder in the XCode project.
Logs
2021-09-23 14:41:06.652066-0700 myapp[46351:3595957] Available orientation: KIVY_ORIENTATION=LandscapeLeft LandscapeRight Portrait PortraitUpsideDown
2021-09-23 14:41:06.652426-0700 myapp[46351:3595957] Initializing python
2021-09-23 14:41:06.811536-0700 myapp[46351:3595957] Running main.py: /Users/tuco/Library/Developer/CoreSimulator/Devices/E34D8146-ED7A-4771-AAFE-02C4FC26464B/data/Containers/Bundle/Application/159F0B96-3B8A-4704\
-A5F1-765E7664D138/myapp.app/YourApp/main.pyc
Traceback (most recent call last):
File "/Users/tuco/Projects/ios_recipes/myapp/.buildozer/ios/platform/kivy-ios/myapp-ios/YourApp/main.py", line 1, in <module>
ImportError: dynamic module does not define module export function (PyInit_myrecipe)
2021-09-23 14:41:06.814412-0700 myapp[46351:3595957] Application quit abnormally!
2021-09-23 14:41:06.819038-0700 myapp[46351:3595957] Leaving
Metadata
Metadata
Assignees
Labels
No labels