Unable to compile libraries for iOS

63 views
Skip to first unread message

WvdB63

unread,
Feb 10, 2020, 1:10:13 PM2/10/20
to Kivy users support
Hi,

I am unable to compile iOS libraries for my KivyMD app on my brand new MacBook Pro running macOS Catalina version 10.15.3.
I am following the instructions on:

When I execute the command:

$./toolchain.py build pyhton3 kivy


I get:


ERROR: Python requirements are missing

To install: pip install -r requirements.txt


It makes no difference whether I execute the following:

 

$ python3 ./toolchain.py build python3 kivy

ERROR: Python requirements are missing

To install: pip install -r requirements.txt


$ sudo python3 ./toolchain.py build python3 kivy

Password:

ERROR: Python requirements are missing

To install: pip install -r requirements.txt


In the same directory there is a requirements.txt file containing:


$ cat requirements.txt

certifi==2019.11.28

chardet==3.0.4

docutils==0.16

idna==2.8

Kivy==1.11.1

Kivy-Garden==0.1.4

kivymd==0.103.0

Pillow==7.0.0

Pygments==2.5.2

requests==2.22.0

urllib3==1.25.8


These contents are the same as:


$ pip3 freeze

certifi==2019.11.28

chardet==3.0.4

Cython==0.28.1

docutils==0.16

idna==2.8

Kivy==1.11.1

Kivy-Garden==0.1.4

kivymd==0.103.0

Pillow==7.0.0

Pygments==2.5.2

requests==2.22.0

urllib3==1.25.8


When I execute an install of the components using:


$ pip3 install -r requirements.txt


I get for all entries: Requirement already satisfied:...


Python3.7.6 is installed:

$ python3

Python 3.7.6 (default, Dec 30 2019, 19:38:28) 

[Clang 11.0.0 (clang-1100.0.33.16)] on darwin

Type "help", "copyright", "credits" or "license" for more information.

>>> 



The following tasks were completed successfully:

$ brew install autoconf automake libtool pkg-config

$ brew link libtool

$ pip3 install cython==0.28.1

$ xcode-select --install


Checking brew:

$ brew doctor

Your system is ready to brew.


So I am completely lost and stacked. Please help.

Thanks in advance.




Robert Flatt

unread,
Feb 10, 2020, 1:47:13 PM2/10/20
to Kivy users support

WvdB63

unread,
Feb 10, 2020, 1:50:54 PM2/10/20
to Kivy users support
Dear Robert,

I tried that one already. But does not bring me any further.

$ pip3 install -r requirements.txt


I get for all entries: Requirement already satisfied:...




Op maandag 10 februari 2020 19:10:13 UTC+1 schreef WvdB63:

WvdB63

unread,
Feb 11, 2020, 1:52:47 AM2/11/20
to Kivy users support
Please could someone have a look and give me some clues so I can get further?
Thanks very much.



Op maandag 10 februari 2020 19:10:13 UTC+1 schreef WvdB63:
Hi,

Robert Flatt

unread,
Feb 11, 2020, 12:32:22 PM2/11/20
to Kivy users support
I have no suggestion, sorry. Maybe somebody else knows?

WvdB63

unread,
Feb 11, 2020, 4:55:55 PM2/11/20
to Kivy users support
I managed to resolve the problem. Just for completeness and others that may run into same type of problem, this is what I've done: 1. The terminal window was still executing python 2 and pip 2. So I followed the directions in: https://opensource.com/article/19/5/python-3-default-mac 2. Executed the first steps of the process again ($brew install autoconf....) 3. After $pip install Cython==0.29.10 I installed the package pbxproj using $pip install pbxproj. 4 And now $./toolchain.py build python3 openssl kivy completed succesfully.


Op maandag 10 februari 2020 19:10:13 UTC+1 schreef WvdB63:
Hi,
Reply all
Reply to author
Forward
0 new messages