I'm a newbie with kivy and I just finished my first app and wanted to created for IOS. I've followed the instruction and was able to do these steps successfully:
>python3 -m venv venv
>. venv/bin/activate
>
pip3 install kivy-ios
>
xcode-select --install
>
brew install autoconf automake libtool pkg-config
>brew link libtool #Although it says that it already exists on my machine
>sudo
pip3 install Cython==0.29.17
Then I did:
>
toolchain build python3 openssl kivy
And this is where I'm having issues, everything seems to be working fine for 15 minutes and then it crashes;
I copied part of the log below. I am using a Mac with OSX 10.13.6 with Xcode 10.2 (although might not be useful at this point).
I have no clue why it's happening and since I'm not necessarily too familiar, I don't know if you would need more information.
Please don't hesitate to ask if needed.
Thank you very much,
#######################
[DEBUG ] checking for --with-ssl-default-suites... python
[DEBUG ] configure: creating ./config.status
[DEBUG ] config.status: creating Makefile.pre
[DEBUG ] config.status: creating Misc/python.pc
[DEBUG ] config.status: creating Misc/python-embed.pc
[DEBUG ] config.status: creating Misc/python-config.sh
[DEBUG ] config.status: creating Modules/ld_so_aix
[DEBUG ] config.status: creating pyconfig.h
[DEBUG ] creating Modules/Setup.local
[DEBUG ] creating Makefile
[DEBUG ]
[DEBUG ]
[DEBUG ] If you want a release build with all stable optimizations active (PGO, etc),
[DEBUG ] please run ./configure --enable-optimizations
[DEBUG ]
[DEBUG ]
[INFO ] Apply patch ctypes_duplicate.patch
[INFO ] Running Shell: /Users/jean-sebastienprovost/anaconda3/bin/make ('-j4',) {'_iter': True, '_out_bufsize': 1, '_err_to_out': True}
[DEBUG ] Makefile:281: *** missing separator. Stop.
Exception in thread background thread for pid 61856:
Traceback (most recent call last):
File "/Users/jean-sebastienprovost/anaconda3/lib/python3.6/threading.py", line 916, in _bootstrap_inner
self.run()
File "/Users/jean-sebastienprovost/anaconda3/lib/python3.6/threading.py", line 864, in run
self._target(*self._args, **self._kwargs)
File "/Users/jean-sebastienprovost/Desktop/coursera/machine_learning/memory_app/venv/lib/python3.6/site-packages/sh.py", line 1662, in wrap
fn(*args, **kwargs)
File "/Users/jean-sebastienprovost/Desktop/coursera/machine_learning/memory_app/venv/lib/python3.6/site-packages/sh.py", line 2606, in background_thread
handle_exit_code(exit_code)
File "/Users/jean-sebastienprovost/Desktop/coursera/machine_learning/memory_app/venv/lib/python3.6/site-packages/sh.py", line 2304, in fn
return self.command.handle_command_exit_code(exit_code)
File "/Users/jean-sebastienprovost/Desktop/coursera/machine_learning/memory_app/venv/lib/python3.6/site-packages/sh.py", line 877, in handle_command_exit_code
raise exc
sh.ErrorReturnCode_2:
RAN: /Users/jean-sebastienprovost/anaconda3/bin/make -j4
STDOUT:
Makefile:281: *** missing separator. Stop.
STDERR:
Traceback (most recent call last):
File "/Users/jean-sebastienprovost/Desktop/coursera/machine_learning/memory_app/venv/bin/toolchain", line 11, in <module>
sys.exit(main())
File "/Users/jean-sebastienprovost/Desktop/coursera/machine_learning/memory_app/venv/lib/python3.6/site-packages/kivy_ios/toolchain.py", line 1497, in main
ToolchainCL()
File "/Users/jean-sebastienprovost/Desktop/coursera/machine_learning/memory_app/venv/lib/python3.6/site-packages/kivy_ios/toolchain.py", line 1270, in __init__
getattr(self, args.command)()
File "/Users/jean-sebastienprovost/Desktop/coursera/machine_learning/memory_app/venv/lib/python3.6/site-packages/kivy_ios/toolchain.py", line 1323, in build
build_recipes(args.recipe, ctx)
File "/Users/jean-sebastienprovost/Desktop/coursera/machine_learning/memory_app/venv/lib/python3.6/site-packages/kivy_ios/toolchain.py", line 1121, in build_recipes
recipe.execute()
File "/Users/jean-sebastienprovost/Desktop/coursera/machine_learning/memory_app/venv/lib/python3.6/site-packages/kivy_ios/toolchain.py", line 700, in execute
self.build_all()
File "/Users/jean-sebastienprovost/Desktop/coursera/machine_learning/memory_app/venv/lib/python3.6/site-packages/kivy_ios/toolchain.py", line 85, in _cache_execution
f(self, *args, **kwargs)
File "/Users/jean-sebastienprovost/Desktop/coursera/machine_learning/memory_app/venv/lib/python3.6/site-packages/kivy_ios/toolchain.py", line 794, in build_all
self.build(arch)
File "/Users/jean-sebastienprovost/Desktop/coursera/machine_learning/memory_app/venv/lib/python3.6/site-packages/kivy_ios/toolchain.py", line 85, in _cache_execution
f(self, *args, **kwargs)
File "/Users/jean-sebastienprovost/Desktop/coursera/machine_learning/memory_app/venv/lib/python3.6/site-packages/kivy_ios/toolchain.py", line 781, in build
self.build_arch(arch)
File "/Users/jean-sebastienprovost/Desktop/coursera/machine_learning/memory_app/venv/lib/python3.6/site-packages/kivy_ios/recipes/python3/__init__.py", line 128, in build_arch
shprint(sh.make, self.ctx.concurrent_make)
File "/Users/jean-sebastienprovost/Desktop/coursera/machine_learning/memory_app/venv/lib/python3.6/site-packages/kivy_ios/toolchain.py", line 67, in shprint
for line in cmd:
File "/Users/jean-sebastienprovost/Desktop/coursera/machine_learning/memory_app/venv/lib/python3.6/site-packages/sh.py", line 925, in next
self.wait()
File "/Users/jean-sebastienprovost/Desktop/coursera/machine_learning/memory_app/venv/lib/python3.6/site-packages/sh.py", line 849, in wait
self.handle_command_exit_code(exit_code)
File "/Users/jean-sebastienprovost/Desktop/coursera/machine_learning/memory_app/venv/lib/python3.6/site-packages/sh.py", line 877, in handle_command_exit_code
raise exc
sh.ErrorReturnCode_2:
RAN: /Users/jean-sebastienprovost/anaconda3/bin/make -j4
STDOUT:
Makefile:281: *** missing separator. Stop.
STDERR:
(venv) >> which python
/Users/jean-sebastienprovost/Desktop/coursera/machine_learning/memory_app/venv/bin/python
(venv) >> which python --version
/Users/jean-sebastienprovost/Desktop/coursera/machine_learning/memory_app/venv/bin/python
(venv) >>
(venv) >>