gpt4 book ai didi

python - Kivy Ios ./toolchain.py 构建 kivy 不工作

转载 作者:行者123 更新时间:2023-11-29 05:22:44 31 4
gpt4 key购买 nike

我正在关注 https://kivy.org/doc/stable/guide/packaging-ios.html 上的教程

开始./toolchain.py build kivy但它不起作用,这是输出

[DEBUG   ] error: command '/tmp/tmpZReB1k' failed with exit status 1
Traceback (most recent call last):
File "./toolchain.py", line 1568, in <module>
ToolchainCL()
File "./toolchain.py", line 1281, in __init__
getattr(self, args.command)()
File "./toolchain.py", line 1322, in build
build_recipes(args.recipe, ctx)
File "./toolchain.py", line 1158, in build_recipes
recipe.execute()
File "/Users/abdulgilani/kivy-ios/toolchain.py", line 729, in execute
self.build_all()
File "/Users/abdulgilani/kivy-ios/toolchain.py", line 84, in _cache_execution
f(self, *args, **kwargs)
File "/Users/abdulgilani/kivy-ios/toolchain.py", line 837, in build_all
self.build(arch)
File "/Users/abdulgilani/kivy-ios/toolchain.py", line 84, in _cache_execution
f(self, *args, **kwargs)
File "/Users/abdulgilani/kivy-ios/toolchain.py", line 811, in build
self.build_arch(arch)
File "/Users/abdulgilani/kivy-ios/toolchain.py", line 1112, in build_arch
_env=build_env)
File "/Users/abdulgilani/kivy-ios/toolchain.py", line 67, in shprint
for line in cmd:
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_1:

RAN: '/Users/abdulgilani/kivy-ios/dist/hostpython3/bin/python setup.py build_ext -g'

STDOUT:
running build_ext
building 'ios' extension
creating build
creating build/temp.macosx-10.14-x86_64-3.7
/tmp/tmpZReB1k -DNDEBUG -g -fwrapv -O3 -Wall -O3 -miphoneos-version-min=8.0 -I/Users/abdulgilani/kivy-ios/dist/include/x86_64/freetype -I/Users/abdulgilani/kivy-ios/dist/include/x86_64/ffi -I/Users/abdulgilani/kivy-ios/dist/include/x86_64/openssl -I/Users/abdulgilani/kivy-ios/dist/include/common/sdl2 -I/Users/abdulgilani/kivy-ios/dist/include/common/sdl2_image -I/Users/abdulgilani/kivy-ios/dist/include/common/sdl2_mixer -I/Users/abdulgilani/kivy-ios/dist/include/common/sdl2_ttf -I/Users/abdulgilani/kivy-ios/dist/include/x86_64 -g -I/Users/abdulgilani/kivy-ios/dist/hostpython3/include/python3.7m -c ios.c -o build/temp.macosx-10.14-x86_64-3.7... (18298 more, please see e.stdout)

STDERR:

我使用 python3、macOS mojave 10.14、xcode 11.0

最佳答案

我找到了解决此问题的方法,那就是切换回 XCode 10.3

关于python - Kivy Ios ./toolchain.py 构建 kivy 不工作,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58509617/

31 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com