kivy / kivy-ios

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

Errors in Kivy.org documentation: iOS Prerequisites #944

Open HeRo002 opened 1 month ago

HeRo002 commented 1 month ago

Hi!

This Kivy-iOS install guide: https://kivy.org/doc/stable/guide/packaging-ios-prerequisites.html

Contains these 3 commands, but 2 of them are erroneous, at least on my brand new install of MacOS Sequoia 15.0.1 (on a MacBook Pro from Mid 2012):

$ brew install autoconf automake libtool pkg-config $ brew link libtool $ pip install Cython==3.0.0

  1. When I run "brew link libtool" I get this warning:

(venv) henrikroseno@MBPtilhdeHenrik ~ % brew link libtool
Warning: Already linked: /usr/local/Cellar/libtool/2.5.3 To relink, run: brew unlink libtool && brew link libtool

  1. When I run "pip install Cython==3.0.0" I get this error, and I have to reinstall version 0.29.36:

(venv) henrikroseno@MBPtilhdeHenrik ~ % pip install Cython==3.0.0 Collecting Cython==3.0.0 Downloading Cython-3.0.0-cp39-cp39-macosx_10_9_x86_64.whl.metadata (3.1 kB) Downloading Cython-3.0.0-cp39-cp39-macosx_10_9_x86_64.whl (3.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.1/3.1 MB 6.3 MB/s eta 0:00:00 Installing collected packages: Cython Attempting uninstall: Cython Found existing installation: Cython 0.29.36 Uninstalling Cython-0.29.36: Successfully uninstalled Cython-0.29.36 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. kivy-ios 2024.3.17 requires Cython==0.29.36, but you have cython 3.0.0 which is incompatible. Successfully installed Cython-3.0.0

It's also quite confusing that these 2 install guides differ quite a lot from each other:

  1. https://kivy.org/doc/stable/guide/packaging-ios-prerequisites.html

  2. https://github.com/kivy/kivy-ios/

Versions

hemna commented 2 days ago

I'm running into this as well. Pillow-11.0.0 will fail to build against cython==0.29.36. It must be 3.0.0.