Closed jhay06 closed 2 years ago
👋 We use the issue tracker exclusively for bug reports and feature requests. However, this issue appears to be a support request. Please use our support channels to get help with the project.
If you're having trouble installing or using kivy-ios, maybe you could be interested to installation and requirements.
Let us know if this comment was made in error, and we'll be happy to reopen the issue.
Hi ,
For your checking on this please . I can't build kivy using kivy-ios on both arm64 or under rosetta 2(x86_64)
Version : MAC OS 12.3.1 Chip : Apple Silicon
please see below [DEBUG ] /tmp/tmpcaabiu4j -arch x86_64 -L/Users/cebx/PycharmProjects/kivy-ios/dist/lib -L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.4.sdk/usr/lib -miphoneos-version-min=9.0 -undefined dynamic_lookup -L/usr/local/homebrew/opt/llvm/lib -Wl,-rpath,/usr/local/homebrew/opt/llvm/lib -o Programs/_testembed Programs/_testembed.o libpython3.9.a -ldl -lm -L./../Support/BZip2 -lbz2 -lssl -lssl -lz -lm [DEBUG ] ld: warning: ld: warning: directory not found for option '-L./../Support/BZip2' [DEBUG ] directory not found for option '-L./../Support/BZip2' [DEBUG ] ld: warning: ld: warning: -undefined dynamic_lookup is deprecated on iOS Simulator [DEBUG ] -undefined dynamic_lookup is deprecated on iOS Simulator [DEBUG ] ld: in '/usr/local/homebrew/opt/llvm/lib/libunwind.dylib', building for iOS Simulator, but linking in dylib built for macOS, for architecture x86_64 [DEBUG ] ld: in '/usr/local/homebrew/opt/llvm/lib/libunwind.dylib', building for iOS Simulator, but linking in dylib built for macOS, for architecture x86_64 [DEBUG ] clangclang: : error: error: linker command failed with exit code 1 (use -v to see invocation)linker command failed with exit code 1 (use -v to see invocation) [DEBUG ] [DEBUG ] make: [Programs/_testembed] Error 1 [DEBUG ] make: Waiting for unfinished jobs.... [DEBUG ] make: [python.exe] Error 1 Exception in thread background thread for pid 53338: Traceback (most recent call last): File "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/threading.py", line 973, in _bootstrap_inner self.run() File "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/threading.py", line 910, in run self._target(self._args, self._kwargs) File "/Users/cebx/PycharmProjects/venv9/lib/python3.9/site-packages/sh.py", line 1540, in wrap fn(*args, **kwargs) File "/Users/cebx/PycharmProjects/venv9/lib/python3.9/site-packages/sh.py", line 2459, in background_thread handle_exit_code(exit_code) File "/Users/cebx/PycharmProjects/venv9/lib/python3.9/site-packages/sh.py", line 2157, in fn return self.command.handle_command_exit_code(exit_code) File "/Users/cebx/PycharmProjects/venv9/lib/python3.9/site-packages/sh.py", line 815, in handle_command_exit_code raise exc sh.ErrorReturnCode_2:
RAN: /usr/bin/make -j8 CFLAGS=-O3 -miphoneos-version-min=9.0 -I/Users/cebx/PycharmProjects/kivy-ios/dist/include/x86_64/freetype -I/Users/cebx/PycharmProjects/kivy-ios/dist/include/x86_64/ffi -I/Users/cebx/PycharmProjects/kivy-ios/dist/include/x86_64/openssl -I/Users/cebx/PycharmProjects/kivy-ios/dist/include/common/sdl2 -I/Users/cebx/PycharmProjects/kivy-ios/dist/include/common/sdl2_image -I/Users/cebx/PycharmProjects/kivy-ios/dist/include/common/sdl2_mixer -I/Users/cebx/PycharmProjects/kivy-ios/dist/include/common/sdl2_ttf -I/Users/cebx/PycharmProjects/kivy-ios/dist/include/x86_64 --sysroot=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.4.sdk
STDOUT: Makefile:2059: warning: overriding commands for target
Modules/_math.o' Makefile:628: warning: ignoring old commands for target
Modules/_math.o' /tmp/tmpcaabiu4j -c -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -O3 -miphoneos-version-min=9.0 -I/Users/cebx/PycharmProjects/kivy-ios/dist/include/x86_64/freetype -I/Users/cebx/PycharmProjects/kivy-ios/dist/include/x86_64/ffi -I/Users/cebx/PycharmProjects/kivy-ios/dist/include/x86_64/openssl -I/Users/cebx/PycharmProjects/kivy-ios/dist/include/common/sdl2 -I/Users/cebx/PycharmProjects/kivy-ios/dist/include/common/sdl2_image -I/Users/cebx/PycharmProjects/kivy-ios/dist/include/common/sdl2_mixer -I/Users/cebx/PycharmProjects/kivy-ios/dist/include/common/sdl2_ttf... (16331 more, please see e.stdout)STDERR:
Traceback (most recent call last): File "/Users/cebx/PycharmProjects/kivy-ios/./toolchain.py", line 3, in
main()
File "/Users/cebx/PycharmProjects/kivy-ios/kivy_ios/toolchain.py", line 1555, in main
ToolchainCL()
File "/Users/cebx/PycharmProjects/kivy-ios/kivy_ios/toolchain.py", line 1299, in init
getattr(self, args.command)()
File "/Users/cebx/PycharmProjects/kivy-ios/kivy_ios/toolchain.py", line 1368, in build
build_recipes(args.recipe, ctx)
File "/Users/cebx/PycharmProjects/kivy-ios/kivy_ios/toolchain.py", line 1142, in build_recipes
recipe.execute()
File "/Users/cebx/PycharmProjects/kivy-ios/kivy_ios/toolchain.py", line 704, in execute
self.build_all()
File "/Users/cebx/PycharmProjects/kivy-ios/kivy_ios/toolchain.py", line 74, in _cache_execution
f(self, *args, *kwargs)
File "/Users/cebx/PycharmProjects/kivy-ios/kivy_ios/toolchain.py", line 803, in build_all
self.build(arch)
File "/Users/cebx/PycharmProjects/kivy-ios/kivy_ios/toolchain.py", line 74, in _cache_execution
f(self, args, **kwargs)
File "/Users/cebx/PycharmProjects/kivy-ios/kivy_ios/toolchain.py", line 790, in build
self.build_arch(arch)
File "/Users/cebx/PycharmProjects/kivy-ios/kivy_ios/recipes/python3/init.py", line 132, in build_arch
shprint(sh.make, self.ctx.concurrent_make, "CFLAGS={}".format(build_env["CFLAGS"]))
File "/Users/cebx/PycharmProjects/kivy-ios/kivy_ios/toolchain.py", line 56, in shprint
for line in cmd:
File "/Users/cebx/PycharmProjects/venv9/lib/python3.9/site-packages/sh.py", line 863, in next
self.wait()
File "/Users/cebx/PycharmProjects/venv9/lib/python3.9/site-packages/sh.py", line 792, in wait
self.handle_command_exit_code(exit_code)
File "/Users/cebx/PycharmProjects/venv9/lib/python3.9/site-packages/sh.py", line 815, in handle_command_exit_code
raise exc
sh.ErrorReturnCode_2:
RAN: /usr/bin/make -j8 CFLAGS=-O3 -miphoneos-version-min=9.0 -I/Users/cebx/PycharmProjects/kivy-ios/dist/include/x86_64/freetype -I/Users/cebx/PycharmProjects/kivy-ios/dist/include/x86_64/ffi -I/Users/cebx/PycharmProjects/kivy-ios/dist/include/x86_64/openssl -I/Users/cebx/PycharmProjects/kivy-ios/dist/include/common/sdl2 -I/Users/cebx/PycharmProjects/kivy-ios/dist/include/common/sdl2_image -I/Users/cebx/PycharmProjects/kivy-ios/dist/include/common/sdl2_mixer -I/Users/cebx/PycharmProjects/kivy-ios/dist/include/common/sdl2_ttf -I/Users/cebx/PycharmProjects/kivy-ios/dist/include/x86_64 --sysroot=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.4.sdk
STDOUT: Makefile:2059: warning: overriding commands for target
Modules/_math.o' Makefile:628: warning: ignoring old commands for target
Modules/_math.o' /tmp/tmpcaabiu4j -c -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -O3 -miphoneos-version-min=9.0 -I/Users/cebx/PycharmProjects/kivy-ios/dist/include/x86_64/freetype -I/Users/cebx/PycharmProjects/kivy-ios/dist/include/x86_64/ffi -I/Users/cebx/PycharmProjects/kivy-ios/dist/include/x86_64/openssl -I/Users/cebx/PycharmProjects/kivy-ios/dist/include/common/sdl2 -I/Users/cebx/PycharmProjects/kivy-ios/dist/include/common/sdl2_image -I/Users/cebx/PycharmProjects/kivy-ios/dist/include/common/sdl2_mixer -I/Users/cebx/PycharmProjects/kivy-ios/dist/include/common/sdl2_ttf... (16331 more, please see e.stdout)STDERR:
Thanks