failed kivy-ios build
See original GitHub issueI failed to build kivy-ios…
Mac OS Sierra 10.12.6 Xcode: 9.0 kivy-ios: 1.10.0 Cython: 0.25
I ran the build in the cond environment with python 2.7. I referred to https://github.com/kivy/kivy/wiki/Connecting-Kivy-with-Anaconda-(OSX) and https://kivy.org/docs/guide/packaging-ios.html
Especially, it seems that python build did not go well.
2 warnings and 1 error generated.
make: *** [Modules/posixmodule.o] Error 1
make: *** Waiting for unfinished jobs....
Traceback (most recent call last):
File "./toolchain.py", line 1365, in <module>
ToolchainCL()
File "./toolchain.py", line 1114, in __init__
getattr(self, args.command)()
File "./toolchain.py", line 1155, in build
build_recipes(args.recipe, ctx)
File "./toolchain.py", line 1005, in build_recipes
recipe.execute()
File "/Users/mac/kivy-ios/toolchain.py", line 615, in execute
self.build_all()
File "/Users/mac/kivy-ios/toolchain.py", line 56, in _cache_execution
f(self, *args, **kwargs)
File "/Users/mac/kivy-ios/toolchain.py", line 704, in build_all
self.build(arch)
File "/Users/mac/kivy-ios/toolchain.py", line 56, in _cache_execution
f(self, *args, **kwargs)
File "/Users/mac/kivy-ios/toolchain.py", line 691, in build
self.build_arch(arch)
File "/Users/mac/kivy-ios/recipes/python/__init__.py", line 65, in build_arch
"HOSTPGEN={}".format(self.ctx.hostpgen))
File "/Users/mac/kivy-ios/toolchain.py", line 39, in shprint
for line in command(*args, **kwargs):
File "./tools/external/sh.py", line 565, in next
self.wait()
File "./tools/external/sh.py", line 500, in wait
self.handle_command_exit_code(exit_code)
File "./tools/external/sh.py", line 516, in handle_command_exit_code
raise exc(self.ran, self.process.stdout, self.process.stderr)
sh.ErrorReturnCode_2:
RAN: '/usr/bin/make -j4 CROSS_COMPILE_TARGET=yes HOSTPYTHON=/Users/mac/kivy-ios/dist/hostpython/bin/python HOSTPGEN=/Users/mac/kivy-ios/dist/hostpython/bin/pgen'
STDOUT:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -c -fno-strict-aliasing -arch i386 -pipe -no-cpp-precomp --sysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.0.sdk -O3 -miphoneos-version-min=6.0.0 -I/Users/mac/kivy-ios/dist/include/i386/freetype -I/Users/mac/kivy-ios/dist/include/i386/hostlibffi -I/Users/mac/kivy-ios/dist/include/i386/libffi -I/Users/mac/kivy-ios/dist/include/common/sdl2 -I/Users/mac/kivy-ios/dist/include/common/sdl2_image -I/Users/mac/kivy-ios/dist/include/common/sdl2_mixer -I/Users/mac/kivy-ios/dist/include/common/sdl2_ttf -DNDEBUG -g -fwrapv -O3 -W... (142967 more, please see e.stdout)
STDERR:
Full output is here.
<bountysource-plugin>Want to back this issue? Post a bounty on it! We accept bounties via Bountysource. </bountysource-plugin>
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Kivy-IOS Compilation Build Failed Error: "/usr/bin/python
Hi all. I am trying to start comp by. $ toolchain build python3 openssl kivy. but I get the following error: [DEBUG ]...
Read more >Kivy-ios: Toolchain build python3 Kivy error - Stack Overflow
I can't just run toolchain build python3 kivy . This will throw error again. I then have to go to the site, download...
Read more >KivyMD Xcode build error - ImportE… | Apple Developer Forums
I am building a Python KivyMD app with MAC Xcode, the code was able to run, but the app didn't load on the...
Read more >Create a package for iOS — Kivy 2.1.0 documentation
The overall process for creating a package for iOS can be explained in 4 steps: Compile the distribution (python + modules for iOS)....
Read more >kivy iOS app deployment in Xcode (Build error) - Reddit
kivy iOS app deployment in Xcode (Build error). I'm a beginner kivy app developer. I used the Kivy/KivyMD framework with Python to develop...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I had the same problem and I managed to fix it, I submited the following pull request: https://github.com/kivy/kivy-ios/pull/268 I hope that this fix help you too.
@mbrockman1
I fixed kivy-ios files on my local by hand. refer to https://github.com/kivy/kivy-ios/pull/268/commits/de7abcbb5963d45645ca00343acedec755f38de8.
Then, I built kivy well.