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

toolchain.py build python3 openssl kivy not completing after upgrading macOS Monterey 12.5 #738

Closed nicholas-buscaglia closed 1 year ago

nicholas-buscaglia commented 1 year ago

I was on big sur, upgraded OS to Monterey 12.5 and xcode 13.4 and now toolchain is not finishing initial build after cloning the kivy-ios project. Gets stuck at same spot despite multiple reboot attempts..."[DEBUG ] checking for suffix of executables... " gets stuck here indefinitely. Anyone experience this? Thanks

Screen Shot 2022-07-31 at 11 41 24 PM

!

misl6 commented 1 year ago

I'm on Monterey 12.5 and XCode 13.4 and works great for me. 🧐

Is that an Intel or Apple Silicon mac?

Did you tried to clean-up the build and try again?

nicholas-buscaglia commented 1 year ago

Hi thanks for responding- there had to be an issue with my environment. I did a factory restore on my mac and then was able to get through this part of toolchain build. The interesting thing is that the program still stops for me at this location "checking for suffix executables," but now I get a blank prompt, which I can click "ok" past and then the build continues. Had to be an issue with old files before the upgrade, etc. w $PATH

Screen Shot 2022-08-03 at 7 13 34 AM
nicholas-buscaglia commented 1 year ago

Now running into new issue after about 15 mins into toolchain build.. sh.CommandNotFound: python. ... toolchain status indicates kivy not built.

Here are the steps I've taken on my new macbook pro (OS Monterey 12.5, xcode 13.4)-

Download command line tools/xcode (xcode-select --install)

Install Homebrew (requires command line tools only but got a weird missing simulator error from toolchain later so just downloaded xcode which I need anyways and that eliminated that). Confirm path... My understanding is no need to modify path on iOS 10 Mojave and newer. But here is echo $PATH/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin

brew install python (latest python, pip and setup tools)

brew install autoconf automake libtool pkg-config (kivy doc pre-req)

brew link libtool (kivy doc pre-req)

pip3 install kivy-ios (needed?)

pip3 install Cython==0.29.28 (kivy doc pre-req)

pip3 install sh (toolchain called this missing)

pip3 install pbxproj (toolchain called this missing)

git clone https://github.com/kivy/kivy-ios

cd kivy-ios

python3 ./toolchain.py build python3 kivy ..etc.

Runs for about 15 mins then Error- raise CommandNotFound(k) sh.CommandNotFound: python

I've tried simply introducing an alias for python to python3 but that does not work for me, same error.

What am I missing?? ./toolchain status says kivy not built. Does kivy require older versions of python that are not stocked with new mac OS? Thanks

misl6 commented 1 year ago

Now running into new issue after about 15 mins into toolchain build.. sh.CommandNotFound: python. ... toolchain status indicates kivy not built.

Here are the steps I've taken on my new macbook pro (OS Monterey 12.5, xcode 13.4)-

Download command line tools/xcode (xcode-select --install)

Install Homebrew (requires command line tools only but got a weird missing simulator error from toolchain later so just downloaded xcode which I need anyways and that eliminated that). Confirm path... My understanding is no need to modify path on iOS 10 Mojave and newer. But here is echo $PATH/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin

brew install python (latest python, pip and setup tools)

brew install autoconf automake libtool pkg-config (kivy doc pre-req)

brew link libtool (kivy doc pre-req)

pip3 install kivy-ios (needed?)

pip3 install Cython==0.29.28 (kivy doc pre-req)

pip3 install sh (toolchain called this missing)

pip3 install pbxproj (toolchain called this missing)

git clone https://github.com/kivy/kivy-ios

cd kivy-ios

python3 ./toolchain.py build python3 kivy ..etc.

Runs for about 15 mins then Error- raise CommandNotFound(k) sh.CommandNotFound: python

I've tried simply introducing an alias for python to python3 but that does not work for me, same error.

What am I missing?? ./toolchain status says kivy not built. Does kivy require older versions of python that are not stocked with new mac OS? Thanks

Can you post the full log?

misl6 commented 1 year ago

Closing for inactivity.