Киви иос ./toolchain.py сборка кивы не работает - PullRequest
0 голосов
/ 22 октября 2019

Я следовал учебнику на 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Мохаве 10,14, Xcode 11,0

1 Ответ

0 голосов
/ 28 октября 2019

Я нашел решение этой проблемы, и он должен был вернуться к XCode 10.3

...