kivy / kivy-ios

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

Issue adding Pillow to Kivy-ios build #807

Closed Neutron-Jimmy closed 1 year ago

Neutron-Jimmy commented 1 year ago

Describe the bug When creating a toolchain build including the recipe for Pillow, I receive the following error in Xcode: "407 duplicate symbols for architecture arm64"

To Reproduce In a python environment run the following commands:

toolchain build python3 kivy pillow

or

toolchain build python3 kivy toolchain build pillow

Both methods produces the same error

Expected behavior The rest of my project works perfectly fine without Pillow, and I have the app working as intended on Android without any issues. I need Pillow for the loading and displaying of images in the app.

Additional context I tried installing pillow with "toolchain pip install pillow" but that leads to a different issue.

Cheaterman commented 1 year ago

Duplicate of #787, try this workaround.