简体   繁体   English

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

[英]Kivy Ios ./toolchain.py build kivy not working

I was following the tutorial at https://kivy.org/doc/stable/guide/packaging-ios.html我正在关注https://kivy.org/doc/stable/guide/packaging-ios.html的教程

Got up to ./toolchain.py build kivy and it doesnt work, this is the output升级到./toolchain.py build kivy但它不起作用,这是 output

[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:

Im using python3, macOS mojave 10.14, xcode 11.0我正在使用 python3、macOS mojave 10.14、xcode 11.0

I found a workaround to this issue and it was to switch back to XCode 10.3我找到了解决此问题的方法,即切换回 XCode 10.3

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 kivy-ios.toolchain.py:第 4 行:语法错误:Mac High Sierra 中文件意外结束 - kivy-ios .toolchain.py: line 4: syntax error: unexpected end of file in Mac High Sierra 为什么在 MacOS 上构建 kivy 应用程序时无法运行./toolchain.py? - Why can' t I run ./toolchain.py while building my kivy app on MacOS? 工具链构建 python3 kivy 错误 - Kivy ios,ZD574D4BB40C84861791A694A - Toolchain build python3 kivy error - Kivy ios ,bash Kivy-ios:工具链构建python3 Kivy错误 - Kivy-ios: Toolchain build python3 Kivy error 当我从 kivy-ios GitHub doc 运行“工具链构建 python3 openssl kivy”命令时,导致错误的原因是什么? - What is causing the error when I run the "toolchain build python3 openssl kivy" command from the kivy-ios GitHub doc? 应用程序构造通过无法识别的参数在toolchain.py中生成错误 - App construction generates error in toolchain.py by unrecognized argument 我如何解决 buildozer 中的这个 toolchain.py 错误 - how can i solve this toolchain.py error in buildozer Kivy中build.py脚本的编译错误 - compilation error with the build.py script in Kivy 工具链 Python(带 Kivy)代码 -> Xcode iOS 模拟器 -> “ModuleNotFoundError: No module named 'kivy'” - toolchain Python(with Kivy) code -> Xcode iOS simulator -> "ModuleNotFoundError: No module named 'kivy'" Xcode中Kivy应用的构建失败-无法打开文件&#39;generate-ios-source-and-headers.py&#39; - Build fails for Kivy app in Xcode - can't open file 'generate-ios-source-and-headers.py'
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM