kivy-garden / zbarcam

Real time Barcode and QR Code scanner
MIT License
128 stars 33 forks source link

iOS support #7

Open GoBig87 opened 6 years ago

GoBig87 commented 6 years ago

Currently iOS is missing some recipes that zbar cam needs in order to work for iOS. I'm working on making a recipe but I have never made a kivy recipe before so it might take me a bit to figure out. Any help with recipes would be appreciated!

AndreMiras commented 6 years ago

Sweet, I would really love to! Unfortunately I don't have any experience with iOS. If you know a legal and easy way for me to give it a try in a Virtual Machine that would be great.

Regarding garden.zbarcam, please take play on the latest develop branch (not the latest tags), since we currently migrated from zbar to zbarlight as part of the Python3 port (work in progress), see https://github.com/kivy-garden/garden.zbarcam/issues/13.

GoBig87 commented 6 years ago

I've got a Mac OSX system up and running that can build kivy iOS apps and I'm willing to do a lot of the leg work. I just need some guidance on how to build the recipes. I'm not sure how much different it is between iOS and android recipes. I'm starting right now with the libiconv recipe. The iOS recipe support is pretty sparse...

AndreMiras commented 6 years ago

OK, I believe you can take a look at existing p4a recipe to get some inspiration, since both iOS and Android recipes look very similar. Be ready to spend time on it at first because it ain't easy at the beginning. You can also get some support on #kivy-dev IRC channel, but I don't know if there're some iOS users there.

For p4a I found a way to automate build in a continuous integration. If you make this somehow that would be awesome and help the kivy-ios project. Good luck! :smiley:

GoBig87 commented 6 years ago

Well I got lucky with libiconv. I merged some of the python 4 android and the basic build_arch function of some ios recipes and it compiled the library. Moving onto libzbar now.

Thanks for the advice.

AndreMiras commented 6 years ago

Well done, by the way that's something I think https://github.com/kivy/kivy-ios project or even just https://github.com/kivy could improve. That would be great if we could by default inherit p4a recipes and eventually update with few tweaks when needed. Because last time I checked the code base, it looked very similar.

GoBig87 commented 6 years ago

Is zbarlight currently working? I've got libiconv and libzbar recipes working I think for kivy-ios. Up next is the zbarlight module but I want to make sure its work before I trudge through the next recipe.

GoBig87 commented 6 years ago

So far with the zbarlight recipe I'm coming across this error.

Mac:kivy-ios MacUser$ ./toolchain.py build zbarlight
Want to build ['zbarlight']
Loaded recipe zbarlight (depends of ['python', 'host_setuptools', 'libzbar'], optional are [])
Loaded recipe python (depends of ['hostpython', 'libffi'], optional are ['openssl'])
Loaded recipe host_setuptools (depends of ['openssl', 'hostpython'], optional are [])
Loaded recipe libzbar (depends of ['hostpython', 'libiconv'], optional are [])
Loaded recipe hostpython (depends of ['hostlibffi'], optional are ['openssl'])
Loaded recipe libffi (depends of [], optional are [])
Loaded recipe openssl (depends of [], optional are [])
Debug
Loaded recipe libiconv (depends of [], optional are [])
Loaded recipe hostlibffi (depends of [], optional are [])
Build order is ['hostlibffi', 'libffi', 'libiconv', 'openssl', 'hostpython', 'host_setuptools', 'libzbar', 'python', 'zbarlight']
Include dir added: {arch.arch}/hostlibffi
Include dir added: {arch.arch}/libffi
Include dir added: {arch.arch}/openssl
Global: hostpython located at /Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/hostpython/bin/python
Global: hostpgen located at /Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/hostpython/bin/pgen
Include dir added: {arch.arch}/libzbar
# (ignored) Download hostlibffi
# (ignored) Extract hostlibffi
Build hostlibffi for x86_64 (filtered)
# (ignored) Build hostlibffi
# (ignored) Download libffi
# (ignored) Extract libffi
# (ignored) Build_all libffi
# (ignored) Download libiconv
# (ignored) Extract libiconv
# (ignored) Build_all libiconv
# (ignored) Download openssl
# (ignored) Extract openssl
# (ignored) Build_all openssl
# (ignored) Download hostpython
# (ignored) Extract hostpython
# (ignored) Build_all hostpython
# (ignored) Download host_setuptools
# (ignored) Extract host_setuptools
# (ignored) Build_all host_setuptools
# (ignored) Download libzbar
# (ignored) Extract libzbar
# (ignored) Build_all libzbar
# (ignored) Download python
# (ignored) Extract python
# (ignored) Build_all python
Download zbarlight
Extract zbarlight
Extract zbarlight for i386
Extract /Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/.cache/zbarlight-1.2.tar.gz into /Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/build/zbarlight/i386
x zbarlight-1.2/
x zbarlight-1.2/.gitignore
x zbarlight-1.2/.travis.yml
x zbarlight-1.2/ChangeLog.rst
x zbarlight-1.2/LICENSE
x zbarlight-1.2/MANIFEST.in
x zbarlight-1.2/Makefile
x zbarlight-1.2/README.rst
x zbarlight-1.2/docs/
x zbarlight-1.2/docs/conf.py
x zbarlight-1.2/docs/index.rst
x zbarlight-1.2/docs/intro.rst
x zbarlight-1.2/docs/reference.rst
x zbarlight-1.2/requirements-dev.txt
x zbarlight-1.2/setup.cfg
x zbarlight-1.2/setup.py
x zbarlight-1.2/src/
x zbarlight-1.2/src/zbarlight/
x zbarlight-1.2/src/zbarlight/__init__.py
x zbarlight-1.2/src/zbarlight/_zbarlight.c
x zbarlight-1.2/tests/
x zbarlight-1.2/tests/__init__.py
x zbarlight-1.2/tests/fixtures/
x zbarlight-1.2/tests/fixtures/no_qr_code.png
x zbarlight-1.2/tests/fixtures/one_qr_code.png
x zbarlight-1.2/tests/fixtures/one_qr_code_and_one_ean.png
x zbarlight-1.2/tests/fixtures/two_qr_codes.png
x zbarlight-1.2/tests/test_qr_code_scanner.py
x zbarlight-1.2/tests/test_scan_codes.py
x zbarlight-1.2/tox.ini
Extract zbarlight for x86_64
Extract /Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/.cache/zbarlight-1.2.tar.gz into /Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/build/zbarlight/x86_64
x zbarlight-1.2/
x zbarlight-1.2/.gitignore
x zbarlight-1.2/.travis.yml
x zbarlight-1.2/ChangeLog.rst
x zbarlight-1.2/LICENSE
x zbarlight-1.2/MANIFEST.in
x zbarlight-1.2/Makefile
x zbarlight-1.2/README.rst
x zbarlight-1.2/docs/
x zbarlight-1.2/docs/conf.py
x zbarlight-1.2/docs/index.rst
x zbarlight-1.2/docs/intro.rst
x zbarlight-1.2/docs/reference.rst
x zbarlight-1.2/requirements-dev.txt
x zbarlight-1.2/setup.cfg
x zbarlight-1.2/setup.py
x zbarlight-1.2/src/
x zbarlight-1.2/src/zbarlight/
x zbarlight-1.2/src/zbarlight/__init__.py
x zbarlight-1.2/src/zbarlight/_zbarlight.c
x zbarlight-1.2/tests/
x zbarlight-1.2/tests/__init__.py
x zbarlight-1.2/tests/fixtures/
x zbarlight-1.2/tests/fixtures/no_qr_code.png
x zbarlight-1.2/tests/fixtures/one_qr_code.png
x zbarlight-1.2/tests/fixtures/one_qr_code_and_one_ean.png
x zbarlight-1.2/tests/fixtures/two_qr_codes.png
x zbarlight-1.2/tests/test_qr_code_scanner.py
x zbarlight-1.2/tests/test_scan_codes.py
x zbarlight-1.2/tox.ini
Extract zbarlight for armv7
Extract /Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/.cache/zbarlight-1.2.tar.gz into /Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/build/zbarlight/armv7
x zbarlight-1.2/
x zbarlight-1.2/.gitignore
x zbarlight-1.2/.travis.yml
x zbarlight-1.2/ChangeLog.rst
x zbarlight-1.2/LICENSE
x zbarlight-1.2/MANIFEST.in
x zbarlight-1.2/Makefile
x zbarlight-1.2/README.rst
x zbarlight-1.2/docs/
x zbarlight-1.2/docs/conf.py
x zbarlight-1.2/docs/index.rst
x zbarlight-1.2/docs/intro.rst
x zbarlight-1.2/docs/reference.rst
x zbarlight-1.2/requirements-dev.txt
x zbarlight-1.2/setup.cfg
x zbarlight-1.2/setup.py
x zbarlight-1.2/src/
x zbarlight-1.2/src/zbarlight/
x zbarlight-1.2/src/zbarlight/__init__.py
x zbarlight-1.2/src/zbarlight/_zbarlight.c
x zbarlight-1.2/tests/
x zbarlight-1.2/tests/__init__.py
x zbarlight-1.2/tests/fixtures/
x zbarlight-1.2/tests/fixtures/no_qr_code.png
x zbarlight-1.2/tests/fixtures/one_qr_code.png
x zbarlight-1.2/tests/fixtures/one_qr_code_and_one_ean.png
x zbarlight-1.2/tests/fixtures/two_qr_codes.png
x zbarlight-1.2/tests/test_qr_code_scanner.py
x zbarlight-1.2/tests/test_scan_codes.py
x zbarlight-1.2/tox.ini
Extract zbarlight for arm64
Extract /Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/.cache/zbarlight-1.2.tar.gz into /Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/build/zbarlight/arm64
x zbarlight-1.2/
x zbarlight-1.2/.gitignore
x zbarlight-1.2/.travis.yml
x zbarlight-1.2/ChangeLog.rst
x zbarlight-1.2/LICENSE
x zbarlight-1.2/MANIFEST.in
x zbarlight-1.2/Makefile
x zbarlight-1.2/README.rst
x zbarlight-1.2/docs/
x zbarlight-1.2/docs/conf.py
x zbarlight-1.2/docs/index.rst
x zbarlight-1.2/docs/intro.rst
x zbarlight-1.2/docs/reference.rst
x zbarlight-1.2/requirements-dev.txt
x zbarlight-1.2/setup.cfg
x zbarlight-1.2/setup.py
x zbarlight-1.2/src/
x zbarlight-1.2/src/zbarlight/
x zbarlight-1.2/src/zbarlight/__init__.py
x zbarlight-1.2/src/zbarlight/_zbarlight.c
x zbarlight-1.2/tests/
x zbarlight-1.2/tests/__init__.py
x zbarlight-1.2/tests/fixtures/
x zbarlight-1.2/tests/fixtures/no_qr_code.png
x zbarlight-1.2/tests/fixtures/one_qr_code.png
x zbarlight-1.2/tests/fixtures/one_qr_code_and_one_ean.png
x zbarlight-1.2/tests/fixtures/two_qr_codes.png
x zbarlight-1.2/tests/test_qr_code_scanner.py
x zbarlight-1.2/tests/test_scan_codes.py
x zbarlight-1.2/tox.ini
Build_all zbarlight
Build zbarlight for i386, x86_64, armv7, arm64 (filtered)
Build zbarlight
Prebuild zbarlight for i386
Build zbarlight for i386
Postbuild zbarlight for i386
Build zbarlight
Prebuild zbarlight for x86_64
Build zbarlight for x86_64
Postbuild zbarlight for x86_64
Build zbarlight
Prebuild zbarlight for armv7
Build zbarlight for armv7
Postbuild zbarlight for armv7
Build zbarlight
Prebuild zbarlight for arm64
Build zbarlight for arm64
Postbuild zbarlight for arm64
Install include files for zbarlight
Install_include zbarlight
Install frameworks for zbarlight
Install_frameworks zbarlight
Install sources for zbarlight
Install_sources zbarlight
Install zbarlight
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/hostpython/lib/python2.7/distutils/extension.py:133: UserWarning: Unknown Extension options: 'optional'
  warnings.warn(msg)
running install
running bdist_egg
running egg_info
creating src/zbarlight.egg-info
writing requirements to src/zbarlight.egg-info/requires.txt
writing src/zbarlight.egg-info/PKG-INFO
writing top-level names to src/zbarlight.egg-info/top_level.txt
writing dependency_links to src/zbarlight.egg-info/dependency_links.txt
writing manifest file 'src/zbarlight.egg-info/SOURCES.txt'
reading manifest file 'src/zbarlight.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
no previously-included directories found matching 'docs'
no previously-included directories found matching 'tests'
warning: no previously-included files matching '*.py[cod]' found anywhere in distribution
warning: no previously-included files matching '__pycache__' found anywhere in distribution
warning: no previously-included files matching '*.so' found anywhere in distribution
warning: no previously-included files found matching 'Makefile'
warning: no previously-included files found matching 'requirements-dev.txt'
warning: no previously-included files found matching 'tox.ini'
writing manifest file 'src/zbarlight.egg-info/SOURCES.txt'
installing library code to build/bdist.macosx-10.13-x86_64/egg
running install_lib
running build_py
creating build
creating build/lib.macosx-10.13-x86_64-2.7
creating build/lib.macosx-10.13-x86_64-2.7/zbarlight
copying src/zbarlight/__init__.py -> build/lib.macosx-10.13-x86_64-2.7/zbarlight
copying src/zbarlight/_zbarlight.c -> build/lib.macosx-10.13-x86_64-2.7/zbarlight
running build_ext
building 'zbarlight._zbarlight' extension
creating build/temp.macosx-10.13-x86_64-2.7
creating build/temp.macosx-10.13-x86_64-2.7/src
creating build/temp.macosx-10.13-x86_64-2.7/src/zbarlight
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -arch i386 -pipe -no-cpp-precomp --sysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk -O3 -miphoneos-version-min=6.0.0 -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/i386/hostlibffi -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/i386/libffi -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/i386/openssl -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/i386/libzbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/i386/libzbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/i386/libzbar/zbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/hostpython/include/python2.7 -I/Users/MacUser/kivy-ios/.buildozer/ios/platform/kivy-ios/dist/hostpython/include/python2.7 -c src/zbarlight/_zbarlight.c -o build/temp.macosx-10.13-x86_64-2.7/src/zbarlight/_zbarlight.o -std=c99
clang -Qunused-arguments -fcolor-diagnostics -lsqlite3 -lffi -L/Users/MacUser/kivy-ios/.buildozer/ios/platform/kivy-ios/dist/hostlibffi/usr/local/lib -lsqlite3 -lffi -L/Users/MacUser/kivy-ios/.buildozer/ios/platform/kivy-ios/dist/hostlibffi/usr/local/lib -arch i386 --sysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk -L/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/lib -lsqlite3 -miphoneos-version-min=6.0.0 -lios -lpython -lzbar -arch i386 -pipe -no-cpp-precomp --sysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk -O3 -miphoneos-version-min=6.0.0 -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/i386/hostlibffi -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/i386/libffi -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/i386/openssl -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/i386/libzbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/i386/libzbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/i386/libzbar/zbar build/temp.macosx-10.13-x86_64-2.7/src/zbarlight/_zbarlight.o -lzbar -o build/lib.macosx-10.13-x86_64-2.7/zbarlight/_zbarlight.so
ld: warning: ignoring file /Users/MacUser/kivy-ios/.buildozer/ios/platform/kivy-ios/dist/hostlibffi/usr/local/lib/libffi.a, file was built for archive which is not the architecture being linked (i386): /Users/MacUser/kivy-ios/.buildozer/ios/platform/kivy-ios/dist/hostlibffi/usr/local/lib/libffi.a
Undefined symbols for architecture i386:
  "_adler32", referenced from:
      _PyZlib_adler32 in libpython.a(zlibmodule.o)
  "_crc32", referenced from:
      _PyZlib_crc32 in libpython.a(zlibmodule.o)
  "_deflate", referenced from:
      _PyZlib_objcompress in libpython.a(zlibmodule.o)
      _PyZlib_flush in libpython.a(zlibmodule.o)
      _PyZlib_compress in libpython.a(zlibmodule.o)
  "_deflateCopy", referenced from:
      _PyZlib_copy in libpython.a(zlibmodule.o)
  "_deflateEnd", referenced from:
      _Comp_dealloc in libpython.a(zlibmodule.o)
      _PyZlib_flush in libpython.a(zlibmodule.o)
      _PyZlib_compress in libpython.a(zlibmodule.o)
  "_deflateInit2_", referenced from:
      _PyZlib_compressobj in libpython.a(zlibmodule.o)
  "_deflateInit_", referenced from:
      _PyZlib_compress in libpython.a(zlibmodule.o)
  "_ffi_call", referenced from:
      __ctypes_callproc in libpython.a(callproc.o)
  "_ffi_closure_alloc", referenced from:
      __ctypes_alloc_callback in libpython.a(callbacks.o)
  "_ffi_closure_free", referenced from:
      _CThunkObject_dealloc in libpython.a(callbacks.o)
  "_ffi_prep_cif", referenced from:
      __ctypes_callproc in libpython.a(callproc.o)
      __ctypes_alloc_callback in libpython.a(callbacks.o)
  "_ffi_prep_closure", referenced from:
      __ctypes_alloc_callback in libpython.a(callbacks.o)
  "_ffi_type_double", referenced from:
      _formattable in libpython.a(cfield.o)
  "_ffi_type_float", referenced from:
      _formattable in libpython.a(cfield.o)
  "_ffi_type_longdouble", referenced from:
      _formattable in libpython.a(cfield.o)
  "_ffi_type_pointer", referenced from:
      _PyCPointerType_new in libpython.a(_ctypes.o)
      _PyCArrayType_new in libpython.a(_ctypes.o)
      _PyCFuncPtrType_new in libpython.a(_ctypes.o)
      _PyCPointerType_from_param in libpython.a(_ctypes.o)
      _PyCPointerType_paramfunc in libpython.a(_ctypes.o)
      _PyCArrayType_paramfunc in libpython.a(_ctypes.o)
      _c_char_p_from_param in libpython.a(_ctypes.o)
      ...
      _PyCPointerType_new in libpython.a(_ctypes.o)
      _PyCArrayType_new in libpython.a(_ctypes.o)
      _PyCFuncPtrType_new in libpython.a(_ctypes.o)
      _PyCPointerType_from_param in libpython.a(_ctypes.o)
      _PyCPointerType_paramfunc in libpython.a(_ctypes.o)
      _PyCArrayType_paramfunc in libpython.a(_ctypes.o)
      _c_char_p_from_param in libpython.a(_ctypes.o)
      ...
      _formattable in libpython.a(cfield.o)
  "_ffi_type_sint16", referenced from:
      _formattable in libpython.a(cfield.o)
  "_ffi_type_sint32", referenced from:
      __ctypes_get_ffi_type in libpython.a(callproc.o)
      __ctypes_callproc in libpython.a(callproc.o)
      _ConvParam in libpython.a(callproc.o)
      __ctypes_get_fielddesc in libpython.a(cfield.o)
      _formattable in libpython.a(cfield.o)
      __ctypes_get_ffi_type in libpython.a(callproc.o)
      __ctypes_callproc in libpython.a(callproc.o)
      _ConvParam in libpython.a(callproc.o)
      __ctypes_get_fielddesc in libpython.a(cfield.o)
  "_ffi_type_sint64", referenced from:
      _formattable in libpython.a(cfield.o)
  "_ffi_type_sint8", referenced from:
      _formattable in libpython.a(cfield.o)
  "_ffi_type_uint16", referenced from:
      _formattable in libpython.a(cfield.o)
  "_ffi_type_uint32", referenced from:
      _formattable in libpython.a(cfield.o)
  "_ffi_type_uint64", referenced from:
      _formattable in libpython.a(cfield.o)
  "_ffi_type_uint8", referenced from:
      _formattable in libpython.a(cfield.o)
  "_ffi_type_void", referenced from:
      __ctypes_alloc_callback in libpython.a(callbacks.o)
      _closure_fcn in libpython.a(callbacks.o)
  "_iconv", referenced from:
      _qr_code_data_list_extract_text in libzbar.a(zbar_libzbar_la-qrdectxt.o)
  "_iconv_close", referenced from:
      _qr_code_data_list_extract_text in libzbar.a(zbar_libzbar_la-qrdectxt.o)
  "_iconv_open", referenced from:
      _qr_code_data_list_extract_text in libzbar.a(zbar_libzbar_la-qrdectxt.o)
  "_inflate", referenced from:
      _PyZlib_objdecompress in libpython.a(zlibmodule.o)
      _PyZlib_unflush in libpython.a(zlibmodule.o)
      _PyZlib_decompress in libpython.a(zlibmodule.o)
  "_inflateCopy", referenced from:
      _PyZlib_uncopy in libpython.a(zlibmodule.o)
  "_inflateEnd", referenced from:
      _Decomp_dealloc in libpython.a(zlibmodule.o)
      _PyZlib_unflush in libpython.a(zlibmodule.o)
      _PyZlib_decompress in libpython.a(zlibmodule.o)
  "_inflateInit2_", referenced from:
      _PyZlib_decompress in libpython.a(zlibmodule.o)
      _PyZlib_decompressobj in libpython.a(zlibmodule.o)
  "_main", referenced from:
     implicit entry/start for main executable
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: command 'clang' failed with exit status 1
Traceback (most recent call last):
  File "./toolchain.py", line 1350, in <module>
    ToolchainCL()
  File "./toolchain.py", line 1120, in __init__
    getattr(self, args.command)()
  File "./toolchain.py", line 1144, in build
    build_recipes(args.recipe, ctx)
  File "./toolchain.py", line 1012, in build_recipes
    recipe.execute()
  File "/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/toolchain.py", line 622, in execute
    self.build_all()
  File "/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/toolchain.py", line 56, in _cache_execution
    f(self, *args, **kwargs)
  File "/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/toolchain.py", line 736, in build_all
    self.install()
  File "/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/recipes/zbarlight/__init__.py", line 23, in install
    shprint(hostpython, "setup.py", "install", "--prefix", dest_dir, _env=build_env)
  File "/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/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_1: 

  RAN: '/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/hostpython/bin/python setup.py install --prefix /Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/root/python'

  STDOUT:
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/hostpython/lib/python2.7/distutils/extension.py:133: UserWarning: Unknown Extension options: 'optional'
  warnings.warn(msg)
running install
running bdist_egg
running egg_info
creating src/zbarlight.egg-info
writing requirements to src/zbarlight.egg-info/requires.txt
writing src/zbarlight.egg-info/PKG-INFO
writing top-level names to src/zbarlight.egg-info/top_level.txt
writing dependency_links to src/zbarlight.egg-info/dependency_links.txt
writing manifest file 'src/zbarlight.egg-info/SOURCES.txt'
reading manifest file 'src/zbarl... (9523 more, please see e.stdout)

  STDERR:

Mac:kivy-ios MacUser$ 

And my recipe is of right now is

import os
from toolchain import PythonRecipe,shprint
from os.path import join
import sh

class ZbarLightRecipe(PythonRecipe):
    version = '1.2'
    url = 'https://github.com/Polyconseil/zbarlight/archive/{version}.tar.gz'
    depends = ['python', 'host_setuptools', 'libzbar']
    pbx_libraries = ["libz","libbz2"]

    def install(self):
        arch = list(self.filtered_archs)[0]
        build_dir = self.get_build_dir(arch.arch)
        os.chdir(build_dir)
        hostpython = sh.Command(self.ctx.hostpython)
        build_env = arch.get_env()
        dest_dir = join(self.ctx.dist_dir, "root", "python")
        build_env['PYTHONPATH'] = join(dest_dir, 'lib', 'python2.7', 'site-packages')
        build_env['CFLAGS'] += ' -I' + join(self.ctx.dist_dir,'include', arch.arch,'libzbar')
        build_env['CFLAGS'] += ' -I' + join(self.ctx.dist_dir,'include', arch.arch,'libzbar','zbar')
        build_env['LDFLAGS'] += " -lios -lpython -lzbar"
        shprint(hostpython, "setup.py", "install", "--prefix", dest_dir, _env=build_env)

recipe = ZbarLightRecipe()

Edit: Added full log and reformatted code

AndreMiras commented 6 years ago

Well done for your progress so far!

Is zbarlight currently working? I've got libiconv and libzbar recipes working I think for kivy-ios. Up next is the zbarlight module but I want to make sure its work before I trudge through the next recipe.

Yes it's working and it's maintained so it should be the preferred library over zbar.

Regarding your error I have few questions.

1) Can you format code and error logs properly with triple back quote so I can read it properly?

2) Why are you using hostpython, while my recipe clearly tries to avoid it? https://github.com/kivy-garden/garden.zbarcam/blob/92c7dcc/python-for-android/recipes/zbarlight/__init__.py

3) Can you make sure log level is 2 log_level = 2 and share more context of your error? Not only the few error lines, but from a bit more above where we see few lines before it fails and then include the full thing until the very last line of your shell.

GoBig87 commented 6 years ago
  1. Sorry about the formatting I'm kind of new to github.
  2. The toolchain for kivy-ios is a little different from p4a and I was trying to follow the basic recipes that have already been made for kivy-ios along with mixing what you've already done.
    3.) I'm not sure if there is any log levels to adjust as I'm not running buildozer, just toolchain commands ie './toolchain.py build zbarlight'. If there is a way I'd love to know to help me debug.
AndreMiras commented 6 years ago

OK I see. And thanks for editing the trace with formatting. So yes that line confirms my doubts:

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -arch i386 -pipe -no-cpp-precomp --sysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk -O3 -miphoneos-version-min=6.0.0 -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/i386/hostlibffi -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/i386/libffi -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/i386/openssl -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/i386/libzbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/i386/libzbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/i386/libzbar/zbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/hostpython/include/python2.7 -I/Users/MacUser/kivy-ios/.buildozer/ios/platform/kivy-ios/dist/hostpython/include/python2.7 -c src/zbarlight/_zbarlight.c -o build/temp.macosx-10.13-x86_64-2.7/src/zbarlight/_zbarlight.o -std=c99
clang -Qunused-arguments -fcolor-diagnostics -lsqlite3 -lffi -L/Users/MacUser/kivy-ios/.buildozer/ios/platform/kivy-ios/dist/hostlibffi/usr/local/lib -lsqlite3 -lffi -L/Users/MacUser/kivy-ios/.buildozer/ios/platform/kivy-ios/dist/hostlibffi/usr/local/lib -arch i386 --sysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk -L/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/lib -lsqlite3 -miphoneos-version-min=6.0.0 -lios -lpython -lzbar -arch i386 -pipe -no-cpp-precomp --sysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk -O3 -miphoneos-version-min=6.0.0 -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/i386/hostlibffi -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/i386/libffi -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/i386/openssl -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/i386/libzbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/i386/libzbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/i386/libzbar/zbar build/temp.macosx-10.13-x86_64-2.7/src/zbarlight/_zbarlight.o -lzbar -o build/lib.macosx-10.13-x86_64-2.7/zbarlight/_zbarlight.so
ld: warning: ignoring file /Users/MacUser/kivy-ios/.buildozer/ios/platform/kivy-ios/dist/hostlibffi/usr/local/lib/libffi.a, file was built for archive which is not the architecture being linked (i386): /Users/MacUser/kivy-ios/.buildozer/ios/platform/kivy-ios/dist/hostlibffi/usr/local/lib/libffi.a

You should definitely not use your hostpython since it's supposed to be cross compiled. Basically the only thing I'm doing here is overriding get_recipe_env() to configure the cross compiler flags. I took a quick look at existing kivy-ios recipes as well as the toolchain.py code base and it looks a bit out of sync. So you may have to dig/debug into it too. For that you need to make sure you understand how the cross compiling process works. Perhaps start by trying to cross compile zbarlight yourself with no toolchain.py only command line. And then verify with tools like readelf that it was cross compiled OK. Good luck :crossed_fingers:

GoBig87 commented 6 years ago
  1. I'm looking at the p4a source code for recipe,py and looking at the PythonRecipe class it seems that every option in install_python_package uses hostpython. Does p4a use hostpython for python recipes too?
  2. Also is there a rough algorithm to build python packages that I can mimic through the command line? For the other packages it was too bad just download, extract, run autoconf, run ./configure and then make commands. So far it looks like the algo is download, extract then run hostpython.
AndreMiras commented 6 years ago

1) No I don't think p4a uses hostpython for all packages, only for the ones that need the package also installed in the host. So basically if you take a look at PythonRecipe.install_python_package() method in the line I highlighted it only install the package in the host if install_in_hostpython is True. And that value is set False by default in recipes, so it must be explicitly set when needed. See docstring:

If True, additionally installs the module in the hostpython build dir. This will make it available to other recipes if call_hostpython_via_targetpython is False.

2) What I usually do when I'm stuck is (not ordered):

GoBig87 commented 6 years ago

So I've changed my code to mimic the kivy ios pil library like this


import os
from toolchain import PythonRecipe,shprint
from os.path import join
import sh
import fnmatch

class ZBarRecipe(PythonRecipe):

    version = '0.10'

    # For some reason the version 0.10 on PyPI is not the same as the ones
    # in sourceforge and GitHub. The one in PyPI has a setup.py.
    # url = 'https://github.com/ZBar/ZBar/archive/{version}.zip'
    url = 'https://pypi.python.org/packages/e0/5c/' + \
        'bd2a96a9f2adacffceb4482cdd56831735ab5a67ea6a60c0a8757c17b62e' + \
        '/zbar-{version}.tar.gz'

    depends = ['hostpython','python', 'host_setuptools', 'libzbar','pil']
    pbx_libraries = ["libz","libbz2",'libc++','libsqlite3','CoreMotion']
    include_per_arch = True

    def prebuild_arch(self, arch):
        if self.has_marker("patched"):
            return
        self.apply_patch("zbar-0.10-python-crash.patch")
        self.set_marker("patched")

    def get_zbar_env(self, arch):
        build_env = arch.get_env()
        dest_dir = join(self.ctx.dist_dir, "root", "python")
        build_env["IOSROOT"] = self.ctx.root_dir
        build_env["IOSSDKROOT"] = arch.sysroot
        build_env["LDSHARED"] = join(self.ctx.root_dir, "tools", "liblink")
        build_env["ARM_LD"] = build_env["LD"]
        build_env["ARCH"] = arch.arch
        build_env["C_INCLUDE_PATH"] = join(arch.sysroot, "usr", "include")
        build_env["LIBRARY_PATH"] = join(arch.sysroot, "usr", "lib")
        build_env['PYTHONPATH'] = join(dest_dir, 'lib', 'python2.7', 'site-packages')
        # build_env['CFLAGS'] += ' -I' + join('build','python',arch.arch,'Python-2.7.1', 'Modules')
        # build_env['CFLAGS'] += ' -I' + join(self.ctx.dist_dir,'lib')
        # build_env['CFLAGS'] += ' -I' + join(self.ctx.dist_dir,'include', arch.arch,'libzbar')
        # build_env['CFLAGS'] += ' -I' + join(self.ctx.dist_dir,'include', arch.arch,'libzbar','zbar')
        # build_env['CFLAGS'] += " -arch {}".format(arch.arch)
        #" -I{}".format(join(self.ctx.dist_dir, "root", 'python', 'lib', 'python2.7', "site-packeges")) +
        build_env["CFLAGS"] = " ".join([
            "-I{}".format(join(self.ctx.dist_dir, "include", arch.arch, "libzbar")) +
            " -I{}".format(join(self.ctx.dist_dir, "include", arch.arch, "libzbar",'zbar')) +
            " -I{}".format(join(self.ctx.dist_dir, "include", arch.arch, "lib")) +
            "-I{}".format(join(self.ctx.dist_dir, "root", 'python', 'lib', 'python2.7', "site-packeges")) +
            " -arch {}".format(arch.arch)
            ])
        build_env['LDFLAGS'] += " -lios -lpython -lzbar"
        return build_env

    def build_arch(self, arch):
        build_env = self.get_zbar_env(arch)
        #build_dir = self.get_build_dir(arch.arch)
        hostpython = sh.Command(self.ctx.hostpython)
        #build_env["PYTHONHOME"] = hostpython
        # first try to generate .h
        shprint(hostpython, "setup.py", "build_ext", "-g",
                _env=build_env)
        self.biglink()

    def install(self):
        arch = list(self.filtered_archs)[0]
        build_dir = self.get_build_dir(arch.arch)
        os.chdir(build_dir)
        hostpython = sh.Command(self.ctx.hostpython)
        build_env = self.get_zbar_env(arch)
        dest_dir = join(self.ctx.dist_dir, "root", "python")
        build_env['PYTHONPATH'] = join(dest_dir, 'lib', 'python2.7', 'site-packages')
        # es = self.ctx.dist_dir + '/hostpython/bin/easy_install'
        # easy_install = sh.Command(es)
        # shprint(easy_install,
        #         "--prefix", dest_dir, "-Z", "./",
        #         _env=build_env)
        shprint(hostpython, "setup.py", "install", "--prefix", dest_dir, _env=build_env)

    def biglink(self):
        dirs = []
        for root, dirnames, filenames in os.walk(self.build_dir):
            if fnmatch.filter(filenames, "*.so.libs"):
                dirs.append(root)
            if fnmatch.filter(filenames, "*.so"):
                dirs.append(root)
            if fnmatch.filter(filenames, "*.o"):
                dirs.append(root)
        cmd = sh.Command(join(self.ctx.root_dir, "tools", "biglink"))
        shprint(cmd, *dirs)

recipe = ZBarRecipe()

And got this log

Mac:kivy-ios MacUser$ ./toolchain.py clean zbar
Cleaning zbar build
Mac:kivy-ios MacUser$ ./toolchain.py build zbar
Want to build ['zbar']
Loaded recipe zbar (depends of ['hostpython', 'python', 'host_setuptools', 'libzbar', 'pil'], optional are [])
Loaded recipe hostpython (depends of ['hostlibffi'], optional are ['openssl'])
Loaded recipe python (depends of ['hostpython', 'libffi'], optional are ['openssl'])
Loaded recipe host_setuptools (depends of ['openssl', 'hostpython'], optional are [])
Loaded recipe libzbar (depends of ['hostpython', 'libiconv'], optional are [])
Loaded recipe pil (depends of ['hostpython', 'host_setuptools', 'pkgresources', 'freetype', 'libjpeg', 'python', 'ios'], optional are [])
Loaded recipe hostlibffi (depends of [], optional are [])
Loaded recipe libffi (depends of [], optional are [])
Loaded recipe openssl (depends of [], optional are [])
Debug
Loaded recipe libiconv (depends of [], optional are [])
Loaded recipe pkgresources (depends of ['hostpython', 'python'], optional are [])
Loaded recipe freetype (depends of [], optional are [])
Loaded recipe libjpeg (depends of [], optional are [])
Loaded recipe ios (depends of ['python'], optional are [])
Build order is ['freetype', 'hostlibffi', 'libffi', 'libiconv', 'libjpeg', 'openssl', 'hostpython', 'host_setuptools', 'libzbar', 'python', 'ios', 'pkgresources', 'pil', 'zbar']
Include dir added: {arch.arch}/freetype
Include dir added: {arch.arch}/hostlibffi
Include dir added: {arch.arch}/libffi
Include dir added: {arch.arch}/libjpeg
Include dir added: {arch.arch}/openssl
Global: hostpython located at /Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/hostpython/bin/python
Global: hostpgen located at /Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/hostpython/bin/pgen
Include dir added: {arch.arch}/libzbar
# (ignored) Download freetype
# (ignored) Extract freetype
# (ignored) Build_all freetype
# (ignored) Download hostlibffi
# (ignored) Extract hostlibffi
Build hostlibffi for x86_64 (filtered)
# (ignored) Build hostlibffi
# (ignored) Download libffi
# (ignored) Extract libffi
# (ignored) Build_all libffi
# (ignored) Download libiconv
# (ignored) Extract libiconv
# (ignored) Build_all libiconv
# (ignored) Download libjpeg
# (ignored) Extract libjpeg
# (ignored) Build_all libjpeg
# (ignored) Download openssl
# (ignored) Extract openssl
# (ignored) Build_all openssl
# (ignored) Download hostpython
# (ignored) Extract hostpython
# (ignored) Build_all hostpython
# (ignored) Download host_setuptools
# (ignored) Extract host_setuptools
# (ignored) Build_all host_setuptools
# (ignored) Download libzbar
# (ignored) Extract libzbar
# (ignored) Build_all libzbar
# (ignored) Download python
# (ignored) Extract python
# (ignored) Build_all python
# (ignored) Download ios
# (ignored) Extract ios
# (ignored) Build_all ios
# (ignored) Download pkgresources
# (ignored) Extract pkgresources
# (ignored) Build_all pkgresources
# (ignored) Download pil
# (ignored) Extract pil
# (ignored) Build_all pil
Download zbar
Extract zbar
Extract zbar for i386
Extract /Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/.cache/zbar-zbar-0.10.tar.gz into /Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/build/zbar/i386
x zbar-0.10/
x zbar-0.10/decoder.c
x zbar-0.10/imagescanner.c
x zbar-0.10/MANIFEST.in
x zbar-0.10/symbolset.c
x zbar-0.10/image.c
x zbar-0.10/test/
x zbar-0.10/test/test_zbar.py
x zbar-0.10/test/barcode.png
x zbar-0.10/zbarmodule.h
x zbar-0.10/exception.c
x zbar-0.10/README
x zbar-0.10/examples/
x zbar-0.10/examples/processor.py
x zbar-0.10/examples/scan_image.py
x zbar-0.10/examples/read_one.py
x zbar-0.10/MANIFEST
x zbar-0.10/symbol.c
x zbar-0.10/symboliter.c
x zbar-0.10/processor.c
x zbar-0.10/PKG-INFO
x zbar-0.10/setup.py
x zbar-0.10/scanner.c
x zbar-0.10/enum.c
x zbar-0.10/zbarmodule.c
Extract zbar for x86_64
Extract /Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/.cache/zbar-zbar-0.10.tar.gz into /Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/build/zbar/x86_64
x zbar-0.10/
x zbar-0.10/decoder.c
x zbar-0.10/imagescanner.c
x zbar-0.10/MANIFEST.in
x zbar-0.10/symbolset.c
x zbar-0.10/image.c
x zbar-0.10/test/
x zbar-0.10/test/test_zbar.py
x zbar-0.10/test/barcode.png
x zbar-0.10/zbarmodule.h
x zbar-0.10/exception.c
x zbar-0.10/README
x zbar-0.10/examples/
x zbar-0.10/examples/processor.py
x zbar-0.10/examples/scan_image.py
x zbar-0.10/examples/read_one.py
x zbar-0.10/MANIFEST
x zbar-0.10/symbol.c
x zbar-0.10/symboliter.c
x zbar-0.10/processor.c
x zbar-0.10/PKG-INFO
x zbar-0.10/setup.py
x zbar-0.10/scanner.c
x zbar-0.10/enum.c
x zbar-0.10/zbarmodule.c
Extract zbar for armv7
Extract /Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/.cache/zbar-zbar-0.10.tar.gz into /Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/build/zbar/armv7
x zbar-0.10/
x zbar-0.10/decoder.c
x zbar-0.10/imagescanner.c
x zbar-0.10/MANIFEST.in
x zbar-0.10/symbolset.c
x zbar-0.10/image.c
x zbar-0.10/test/
x zbar-0.10/test/test_zbar.py
x zbar-0.10/test/barcode.png
x zbar-0.10/zbarmodule.h
x zbar-0.10/exception.c
x zbar-0.10/README
x zbar-0.10/examples/
x zbar-0.10/examples/processor.py
x zbar-0.10/examples/scan_image.py
x zbar-0.10/examples/read_one.py
x zbar-0.10/MANIFEST
x zbar-0.10/symbol.c
x zbar-0.10/symboliter.c
x zbar-0.10/processor.c
x zbar-0.10/PKG-INFO
x zbar-0.10/setup.py
x zbar-0.10/scanner.c
x zbar-0.10/enum.c
x zbar-0.10/zbarmodule.c
Extract zbar for arm64
Extract /Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/.cache/zbar-zbar-0.10.tar.gz into /Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/build/zbar/arm64
x zbar-0.10/
x zbar-0.10/decoder.c
x zbar-0.10/imagescanner.c
x zbar-0.10/MANIFEST.in
x zbar-0.10/symbolset.c
x zbar-0.10/image.c
x zbar-0.10/test/
x zbar-0.10/test/test_zbar.py
x zbar-0.10/test/barcode.png
x zbar-0.10/zbarmodule.h
x zbar-0.10/exception.c
x zbar-0.10/README
x zbar-0.10/examples/
x zbar-0.10/examples/processor.py
x zbar-0.10/examples/scan_image.py
x zbar-0.10/examples/read_one.py
x zbar-0.10/MANIFEST
x zbar-0.10/symbol.c
x zbar-0.10/symboliter.c
x zbar-0.10/processor.c
x zbar-0.10/PKG-INFO
x zbar-0.10/setup.py
x zbar-0.10/scanner.c
x zbar-0.10/enum.c
x zbar-0.10/zbarmodule.c
Build_all zbar
Build zbar for i386, x86_64, armv7, arm64 (filtered)
Build zbar
Prebuild zbar for i386
Apply patch zbar-0.10-python-crash.patch
Build zbar for i386
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
running build_ext
building 'zbar' extension
creating build
creating build/temp.macosx-10.13-x86_64-2.7
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/i386/libzbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/i386/libzbar/zbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/i386/lib-I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/root/python/lib/python2.7/site-packeges -arch i386 -g -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/hostpython/include/python2.7 -I/Users/MacUser/kivy-ios/.buildozer/ios/platform/kivy-ios/dist/hostpython/include/python2.7 -c zbarmodule.c -o build/temp.macosx-10.13-x86_64-2.7/zbarmodule.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/i386/libzbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/i386/libzbar/zbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/i386/lib-I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/root/python/lib/python2.7/site-packeges -arch i386 -g -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/hostpython/include/python2.7 -I/Users/MacUser/kivy-ios/.buildozer/ios/platform/kivy-ios/dist/hostpython/include/python2.7 -c enum.c -o build/temp.macosx-10.13-x86_64-2.7/enum.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/i386/libzbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/i386/libzbar/zbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/i386/lib-I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/root/python/lib/python2.7/site-packeges -arch i386 -g -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/hostpython/include/python2.7 -I/Users/MacUser/kivy-ios/.buildozer/ios/platform/kivy-ios/dist/hostpython/include/python2.7 -c exception.c -o build/temp.macosx-10.13-x86_64-2.7/exception.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/i386/libzbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/i386/libzbar/zbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/i386/lib-I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/root/python/lib/python2.7/site-packeges -arch i386 -g -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/hostpython/include/python2.7 -I/Users/MacUser/kivy-ios/.buildozer/ios/platform/kivy-ios/dist/hostpython/include/python2.7 -c symbol.c -o build/temp.macosx-10.13-x86_64-2.7/symbol.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/i386/libzbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/i386/libzbar/zbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/i386/lib-I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/root/python/lib/python2.7/site-packeges -arch i386 -g -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/hostpython/include/python2.7 -I/Users/MacUser/kivy-ios/.buildozer/ios/platform/kivy-ios/dist/hostpython/include/python2.7 -c symbolset.c -o build/temp.macosx-10.13-x86_64-2.7/symbolset.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/i386/libzbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/i386/libzbar/zbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/i386/lib-I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/root/python/lib/python2.7/site-packeges -arch i386 -g -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/hostpython/include/python2.7 -I/Users/MacUser/kivy-ios/.buildozer/ios/platform/kivy-ios/dist/hostpython/include/python2.7 -c symboliter.c -o build/temp.macosx-10.13-x86_64-2.7/symboliter.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/i386/libzbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/i386/libzbar/zbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/i386/lib-I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/root/python/lib/python2.7/site-packeges -arch i386 -g -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/hostpython/include/python2.7 -I/Users/MacUser/kivy-ios/.buildozer/ios/platform/kivy-ios/dist/hostpython/include/python2.7 -c image.c -o build/temp.macosx-10.13-x86_64-2.7/image.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/i386/libzbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/i386/libzbar/zbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/i386/lib-I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/root/python/lib/python2.7/site-packeges -arch i386 -g -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/hostpython/include/python2.7 -I/Users/MacUser/kivy-ios/.buildozer/ios/platform/kivy-ios/dist/hostpython/include/python2.7 -c processor.c -o build/temp.macosx-10.13-x86_64-2.7/processor.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/i386/libzbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/i386/libzbar/zbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/i386/lib-I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/root/python/lib/python2.7/site-packeges -arch i386 -g -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/hostpython/include/python2.7 -I/Users/MacUser/kivy-ios/.buildozer/ios/platform/kivy-ios/dist/hostpython/include/python2.7 -c imagescanner.c -o build/temp.macosx-10.13-x86_64-2.7/imagescanner.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/i386/libzbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/i386/libzbar/zbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/i386/lib-I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/root/python/lib/python2.7/site-packeges -arch i386 -g -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/hostpython/include/python2.7 -I/Users/MacUser/kivy-ios/.buildozer/ios/platform/kivy-ios/dist/hostpython/include/python2.7 -c decoder.c -o build/temp.macosx-10.13-x86_64-2.7/decoder.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/i386/libzbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/i386/libzbar/zbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/i386/lib-I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/root/python/lib/python2.7/site-packeges -arch i386 -g -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/hostpython/include/python2.7 -I/Users/MacUser/kivy-ios/.buildozer/ios/platform/kivy-ios/dist/hostpython/include/python2.7 -c scanner.c -o build/temp.macosx-10.13-x86_64-2.7/scanner.o
creating build/lib.macosx-10.13-x86_64-2.7
/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/tools/liblink -arch i386 --sysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk -L/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/lib -lsqlite3 -miphoneos-version-min=6.0.0 -lios -lpython -lzbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/i386/libzbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/i386/libzbar/zbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/i386/lib-I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/root/python/lib/python2.7/site-packeges -arch i386 -g build/temp.macosx-10.13-x86_64-2.7/zbarmodule.o build/temp.macosx-10.13-x86_64-2.7/enum.o build/temp.macosx-10.13-x86_64-2.7/exception.o build/temp.macosx-10.13-x86_64-2.7/symbol.o build/temp.macosx-10.13-x86_64-2.7/symbolset.o build/temp.macosx-10.13-x86_64-2.7/symboliter.o build/temp.macosx-10.13-x86_64-2.7/image.o build/temp.macosx-10.13-x86_64-2.7/processor.o build/temp.macosx-10.13-x86_64-2.7/imagescanner.o build/temp.macosx-10.13-x86_64-2.7/decoder.o build/temp.macosx-10.13-x86_64-2.7/scanner.o -lzbar -o build/lib.macosx-10.13-x86_64-2.7/zbar.so
('Liblink redirect linking with', ['build/temp.macosx-10.13-x86_64-2.7/zbarmodule.o', 'build/temp.macosx-10.13-x86_64-2.7/enum.o', 'build/temp.macosx-10.13-x86_64-2.7/exception.o', 'build/temp.macosx-10.13-x86_64-2.7/symbol.o', 'build/temp.macosx-10.13-x86_64-2.7/symbolset.o', 'build/temp.macosx-10.13-x86_64-2.7/symboliter.o', 'build/temp.macosx-10.13-x86_64-2.7/image.o', 'build/temp.macosx-10.13-x86_64-2.7/processor.o', 'build/temp.macosx-10.13-x86_64-2.7/imagescanner.o', 'build/temp.macosx-10.13-x86_64-2.7/decoder.o', 'build/temp.macosx-10.13-x86_64-2.7/scanner.o'])
ld: warning: ld: warning: URGENT: building for iOS, but linking in object file (build/temp.macosx-10.13-x86_64-2.7/enum.o) built for OSX. Note: This will be an error in the future.URGENT: building for iOS, but linking in object file (build/temp.macosx-10.13-x86_64-2.7/zbarmodule.o) built for OSX. Note: This will be an error in the future.

ld: warning: object file (build/temp.macosx-10.13-x86_64-2.7/enum.o) was built for newer OSX version (10.13) than being linked (7.0)
ld: warning: object file (build/temp.macosx-10.13-x86_64-2.7/zbarmodule.o) was built for newer OSX version (10.13) than being linked (7.0)
ld: warning: URGENT: building for iOS, but linking in object file (build/temp.macosx-10.13-x86_64-2.7/exception.o) built for OSX. Note: This will be an error in the future.
ld: warning: object file (build/temp.macosx-10.13-x86_64-2.7/exception.o) was built for newer OSX version (10.13) than being linked (7.0)
ld: warning: URGENT: building for iOS, but linking in object file (build/temp.macosx-10.13-x86_64-2.7/symbol.o) built for OSX. Note: This will be an error in the future.
ld: warning: object file (build/temp.macosx-10.13-x86_64-2.7/symbol.o) was built for newer OSX version (10.13) than being linked (7.0)
ld: warning: URGENT: building for iOS, but linking in object file (build/temp.macosx-10.13-x86_64-2.7/symbolset.o) built for OSX. Note: This will be an error in the future.
ld: warning: object file (build/temp.macosx-10.13-x86_64-2.7/symbolset.o) was built for newer OSX version (10.13) than being linked (7.0)
ld: warning: URGENT: building for iOS, but linking in object file (build/temp.macosx-10.13-x86_64-2.7/image.o) built for OSX. Note: This will be an error in the future.
ld: warning: object file (build/temp.macosx-10.13-x86_64-2.7/image.o) was built for newer OSX version (10.13) than being linked (7.0)ld: warning: 
URGENT: building for iOS, but linking in object file (build/temp.macosx-10.13-x86_64-2.7/symboliter.o) built for OSX. Note: This will be an error in the future.
ld: warning: object file (build/temp.macosx-10.13-x86_64-2.7/symboliter.o) was built for newer OSX version (10.13) than being linked (7.0)
ld: warning: URGENT: building for iOS, but linking in object file (build/temp.macosx-10.13-x86_64-2.7/processor.o) built for OSX. Note: This will be an error in the future.
ld: warning: object file (build/temp.macosx-10.13-x86_64-2.7/processor.o) was built for newer OSX version (10.13) than being linked (7.0)
ld: warning: URGENT: building for iOS, but linking in object file (build/temp.macosx-10.13-x86_64-2.7/imagescanner.o) built for OSX. Note: This will be an error in the future.
ld: warning: object file (build/temp.macosx-10.13-x86_64-2.7/imagescanner.o) was built for newer OSX version (10.13) than being linked (7.0)
ld: warning: URGENT: building for iOS, but linking in object file (build/temp.macosx-10.13-x86_64-2.7/decoder.o) built for OSX. Note: This will be an error in the future.
ld: warning: object file (build/temp.macosx-10.13-x86_64-2.7/decoder.o) was built for newer OSX version (10.13) than being linked (7.0)
ld: warning: URGENT: building for iOS, but linking in object file (build/temp.macosx-10.13-x86_64-2.7/scanner.o) built for OSX. Note: This will be an error in the future.
ld: warning: object file (build/temp.macosx-10.13-x86_64-2.7/scanner.o) was built for newer OSX version (10.13) than being linked (7.0)
Biglink create /Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/build/zbar/i386/zbar-0.10/build/lib.macosx-10.13-x86_64-2.7 library
ar: /Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/build/zbar/i386/zbar-0.10/build/lib.macosx-10.13-x86_64-2.7: Is a directory
Postbuild zbar for i386
Build zbar
Prebuild zbar for x86_64
Apply patch zbar-0.10-python-crash.patch
Build zbar for x86_64
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
running build_ext
building 'zbar' extension
creating build
creating build/temp.macosx-10.13-x86_64-2.7
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/x86_64/libzbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/x86_64/libzbar/zbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/x86_64/lib-I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/root/python/lib/python2.7/site-packeges -arch x86_64 -g -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/hostpython/include/python2.7 -I/Users/MacUser/kivy-ios/.buildozer/ios/platform/kivy-ios/dist/hostpython/include/python2.7 -c zbarmodule.c -o build/temp.macosx-10.13-x86_64-2.7/zbarmodule.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/x86_64/libzbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/x86_64/libzbar/zbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/x86_64/lib-I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/root/python/lib/python2.7/site-packeges -arch x86_64 -g -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/hostpython/include/python2.7 -I/Users/MacUser/kivy-ios/.buildozer/ios/platform/kivy-ios/dist/hostpython/include/python2.7 -c enum.c -o build/temp.macosx-10.13-x86_64-2.7/enum.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/x86_64/libzbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/x86_64/libzbar/zbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/x86_64/lib-I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/root/python/lib/python2.7/site-packeges -arch x86_64 -g -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/hostpython/include/python2.7 -I/Users/MacUser/kivy-ios/.buildozer/ios/platform/kivy-ios/dist/hostpython/include/python2.7 -c exception.c -o build/temp.macosx-10.13-x86_64-2.7/exception.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/x86_64/libzbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/x86_64/libzbar/zbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/x86_64/lib-I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/root/python/lib/python2.7/site-packeges -arch x86_64 -g -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/hostpython/include/python2.7 -I/Users/MacUser/kivy-ios/.buildozer/ios/platform/kivy-ios/dist/hostpython/include/python2.7 -c symbol.c -o build/temp.macosx-10.13-x86_64-2.7/symbol.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/x86_64/libzbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/x86_64/libzbar/zbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/x86_64/lib-I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/root/python/lib/python2.7/site-packeges -arch x86_64 -g -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/hostpython/include/python2.7 -I/Users/MacUser/kivy-ios/.buildozer/ios/platform/kivy-ios/dist/hostpython/include/python2.7 -c symbolset.c -o build/temp.macosx-10.13-x86_64-2.7/symbolset.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/x86_64/libzbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/x86_64/libzbar/zbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/x86_64/lib-I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/root/python/lib/python2.7/site-packeges -arch x86_64 -g -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/hostpython/include/python2.7 -I/Users/MacUser/kivy-ios/.buildozer/ios/platform/kivy-ios/dist/hostpython/include/python2.7 -c symboliter.c -o build/temp.macosx-10.13-x86_64-2.7/symboliter.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/x86_64/libzbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/x86_64/libzbar/zbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/x86_64/lib-I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/root/python/lib/python2.7/site-packeges -arch x86_64 -g -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/hostpython/include/python2.7 -I/Users/MacUser/kivy-ios/.buildozer/ios/platform/kivy-ios/dist/hostpython/include/python2.7 -c image.c -o build/temp.macosx-10.13-x86_64-2.7/image.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/x86_64/libzbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/x86_64/libzbar/zbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/x86_64/lib-I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/root/python/lib/python2.7/site-packeges -arch x86_64 -g -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/hostpython/include/python2.7 -I/Users/MacUser/kivy-ios/.buildozer/ios/platform/kivy-ios/dist/hostpython/include/python2.7 -c processor.c -o build/temp.macosx-10.13-x86_64-2.7/processor.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/x86_64/libzbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/x86_64/libzbar/zbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/x86_64/lib-I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/root/python/lib/python2.7/site-packeges -arch x86_64 -g -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/hostpython/include/python2.7 -I/Users/MacUser/kivy-ios/.buildozer/ios/platform/kivy-ios/dist/hostpython/include/python2.7 -c imagescanner.c -o build/temp.macosx-10.13-x86_64-2.7/imagescanner.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/x86_64/libzbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/x86_64/libzbar/zbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/x86_64/lib-I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/root/python/lib/python2.7/site-packeges -arch x86_64 -g -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/hostpython/include/python2.7 -I/Users/MacUser/kivy-ios/.buildozer/ios/platform/kivy-ios/dist/hostpython/include/python2.7 -c decoder.c -o build/temp.macosx-10.13-x86_64-2.7/decoder.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/x86_64/libzbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/x86_64/libzbar/zbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/x86_64/lib-I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/root/python/lib/python2.7/site-packeges -arch x86_64 -g -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/hostpython/include/python2.7 -I/Users/MacUser/kivy-ios/.buildozer/ios/platform/kivy-ios/dist/hostpython/include/python2.7 -c scanner.c -o build/temp.macosx-10.13-x86_64-2.7/scanner.o
creating build/lib.macosx-10.13-x86_64-2.7
/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/tools/liblink -arch x86_64 --sysroot 
GoBig87 commented 6 years ago

Continued

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk -L/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/lib -lsqlite3 -miphoneos-version-min=7.0 -lios -lpython -lzbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/x86_64/libzbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/x86_64/libzbar/zbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/x86_64/lib-I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/root/python/lib/python2.7/site-packeges -arch x86_64 -g build/temp.macosx-10.13-x86_64-2.7/zbarmodule.o build/temp.macosx-10.13-x86_64-2.7/enum.o build/temp.macosx-10.13-x86_64-2.7/exception.o build/temp.macosx-10.13-x86_64-2.7/symbol.o build/temp.macosx-10.13-x86_64-2.7/symbolset.o build/temp.macosx-10.13-x86_64-2.7/symboliter.o build/temp.macosx-10.13-x86_64-2.7/image.o build/temp.macosx-10.13-x86_64-2.7/processor.o build/temp.macosx-10.13-x86_64-2.7/imagescanner.o build/temp.macosx-10.13-x86_64-2.7/decoder.o build/temp.macosx-10.13-x86_64-2.7/scanner.o -lzbar -o build/lib.macosx-10.13-x86_64-2.7/zbar.so
('Liblink redirect linking with', ['build/temp.macosx-10.13-x86_64-2.7/zbarmodule.o', 'build/temp.macosx-10.13-x86_64-2.7/enum.o', 'build/temp.macosx-10.13-x86_64-2.7/exception.o', 'build/temp.macosx-10.13-x86_64-2.7/symbol.o', 'build/temp.macosx-10.13-x86_64-2.7/symbolset.o', 'build/temp.macosx-10.13-x86_64-2.7/symboliter.o', 'build/temp.macosx-10.13-x86_64-2.7/image.o', 'build/temp.macosx-10.13-x86_64-2.7/processor.o', 'build/temp.macosx-10.13-x86_64-2.7/imagescanner.o', 'build/temp.macosx-10.13-x86_64-2.7/decoder.o', 'build/temp.macosx-10.13-x86_64-2.7/scanner.o'])
ld: warning: URGENT: building for iOS, but linking in object file (build/temp.macosx-10.13-x86_64-2.7/zbarmodule.o) built for OSX. Note: This will be an error in the future.
ld: warning: object file (build/temp.macosx-10.13-x86_64-2.7/zbarmodule.o) was built for newer OSX version (10.13) than being linked (7.0)
ld: warning: URGENT: building for iOS, but linking in object file (build/temp.macosx-10.13-x86_64-2.7/enum.o) built for OSX. Note: This will be an error in the future.
ld: warning: object file (build/temp.macosx-10.13-x86_64-2.7/enum.o) was built for newer OSX version (10.13) than being linked (7.0)
ld: warning: URGENT: building for iOS, but linking in object file (build/temp.macosx-10.13-x86_64-2.7/exception.o) built for OSX. Note: This will be an error in the future.
ld: warning: object file (build/temp.macosx-10.13-x86_64-2.7/exception.o) was built for newer OSX version (10.13) than being linked (7.0)
ld: warning: URGENT: building for iOS, but linking in object file (build/temp.macosx-10.13-x86_64-2.7/symbol.o) built for OSX. Note: This will be an error in the future.
ld: warning: object file (build/temp.macosx-10.13-x86_64-2.7/symbol.o) was built for newer OSX version (10.13) than being linked (7.0)
ld: warning: URGENT: building for iOS, but linking in object file (build/temp.macosx-10.13-x86_64-2.7/symbolset.o) built for OSX. Note: This will be an error in the future.
ld: warning: object file (build/temp.macosx-10.13-x86_64-2.7/symbolset.o) was built for newer OSX version (10.13) than being linked (7.0)
ld: warning: URGENT: building for iOS, but linking in object file (build/temp.macosx-10.13-x86_64-2.7/symboliter.o) built for OSX. Note: This will be an error in the future.
ld: warning: object file (build/temp.macosx-10.13-x86_64-2.7/symboliter.o) was built for newer OSX version (10.13) than being linked (7.0)
ld: warning: URGENT: building for iOS, but linking in object file (build/temp.macosx-10.13-x86_64-2.7/image.o) built for OSX. Note: This will be an error in the future.
ld: warning: object file (build/temp.macosx-10.13-x86_64-2.7/image.o) was built for newer OSX version (10.13) than being linked (7.0)
ld: warning: URGENT: building for iOS, but linking in object file (build/temp.macosx-10.13-x86_64-2.7/processor.o) built for OSX. Note: This will be an error in the future.
ld: warning: object file (build/temp.macosx-10.13-x86_64-2.7/processor.o) was built for newer OSX version (10.13) than being linked (7.0)ld: warning: ld: warning: ld: warning: 
URGENT: building for iOS, but linking in object file (build/temp.macosx-10.13-x86_64-2.7/imagescanner.o) built for OSX. Note: This will be an error in the future.URGENT: building for iOS, but linking in object file (build/temp.macosx-10.13-x86_64-2.7/decoder.o) built for OSX. Note: This will be an error in the future.URGENT: building for iOS, but linking in object file (build/temp.macosx-10.13-x86_64-2.7/scanner.o) built for OSX. Note: This will be an error in the future.

ld: warning: ld: warning: ld: warning: object file (build/temp.macosx-10.13-x86_64-2.7/imagescanner.o) was built for newer OSX version (10.13) than being linked (7.0)object file (build/temp.macosx-10.13-x86_64-2.7/decoder.o) was built for newer OSX version (10.13) than being linked (7.0)object file (build/temp.macosx-10.13-x86_64-2.7/scanner.o) was built for newer OSX version (10.13) than being linked (7.0)

Biglink create /Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/build/zbar/x86_64/zbar-0.10/build/lib.macosx-10.13-x86_64-2.7 library
ar: /Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/build/zbar/x86_64/zbar-0.10/build/lib.macosx-10.13-x86_64-2.7: Is a directory
Postbuild zbar for x86_64
Build zbar
Prebuild zbar for armv7
Apply patch zbar-0.10-python-crash.patch
Build zbar for armv7
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
running build_ext
building 'zbar' extension
creating build
creating build/temp.macosx-10.13-x86_64-2.7
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/armv7/libzbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/armv7/libzbar/zbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/armv7/lib-I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/root/python/lib/python2.7/site-packeges -arch armv7 -g -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/hostpython/include/python2.7 -I/Users/MacUser/kivy-ios/.buildozer/ios/platform/kivy-ios/dist/hostpython/include/python2.7 -c zbarmodule.c -o build/temp.macosx-10.13-x86_64-2.7/zbarmodule.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/armv7/libzbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/armv7/libzbar/zbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/armv7/lib-I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/root/python/lib/python2.7/site-packeges -arch armv7 -g -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/hostpython/include/python2.7 -I/Users/MacUser/kivy-ios/.buildozer/ios/platform/kivy-ios/dist/hostpython/include/python2.7 -c enum.c -o build/temp.macosx-10.13-x86_64-2.7/enum.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/armv7/libzbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/armv7/libzbar/zbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/armv7/lib-I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/root/python/lib/python2.7/site-packeges -arch armv7 -g -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/hostpython/include/python2.7 -I/Users/MacUser/kivy-ios/.buildozer/ios/platform/kivy-ios/dist/hostpython/include/python2.7 -c exception.c -o build/temp.macosx-10.13-x86_64-2.7/exception.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/armv7/libzbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/armv7/libzbar/zbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/armv7/lib-I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/root/python/lib/python2.7/site-packeges -arch armv7 -g -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/hostpython/include/python2.7 -I/Users/MacUser/kivy-ios/.buildozer/ios/platform/kivy-ios/dist/hostpython/include/python2.7 -c symbol.c -o build/temp.macosx-10.13-x86_64-2.7/symbol.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/armv7/libzbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/armv7/libzbar/zbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/armv7/lib-I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/root/python/lib/python2.7/site-packeges -arch armv7 -g -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/hostpython/include/python2.7 -I/Users/MacUser/kivy-ios/.buildozer/ios/platform/kivy-ios/dist/hostpython/include/python2.7 -c symbolset.c -o build/temp.macosx-10.13-x86_64-2.7/symbolset.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/armv7/libzbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/armv7/libzbar/zbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/armv7/lib-I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/root/python/lib/python2.7/site-packeges -arch armv7 -g -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/hostpython/include/python2.7 -I/Users/MacUser/kivy-ios/.buildozer/ios/platform/kivy-ios/dist/hostpython/include/python2.7 -c symboliter.c -o build/temp.macosx-10.13-x86_64-2.7/symboliter.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/armv7/libzbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/armv7/libzbar/zbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/armv7/lib-I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/root/python/lib/python2.7/site-packeges -arch armv7 -g -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/hostpython/include/python2.7 -I/Users/MacUser/kivy-ios/.buildozer/ios/platform/kivy-ios/dist/hostpython/include/python2.7 -c image.c -o build/temp.macosx-10.13-x86_64-2.7/image.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/armv7/libzbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/armv7/libzbar/zbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/armv7/lib-I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/root/python/lib/python2.7/site-packeges -arch armv7 -g -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/hostpython/include/python2.7 -I/Users/MacUser/kivy-ios/.buildozer/ios/platform/kivy-ios/dist/hostpython/include/python2.7 -c processor.c -o build/temp.macosx-10.13-x86_64-2.7/processor.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/armv7/libzbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/armv7/libzbar/zbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/armv7/lib-I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/root/python/lib/python2.7/site-packeges -arch armv7 -g -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/hostpython/include/python2.7 -I/Users/MacUser/kivy-ios/.buildozer/ios/platform/kivy-ios/dist/hostpython/include/python2.7 -c imagescanner.c -o build/temp.macosx-10.13-x86_64-2.7/imagescanner.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/armv7/libzbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/armv7/libzbar/zbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/armv7/lib-I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/root/python/lib/python2.7/site-packeges -arch armv7 -g -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/hostpython/include/python2.7 -I/Users/MacUser/kivy-ios/.buildozer/ios/platform/kivy-ios/dist/hostpython/include/python2.7 -c decoder.c -o build/temp.macosx-10.13-x86_64-2.7/decoder.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/armv7/libzbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/armv7/libzbar/zbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/armv7/lib-I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/root/python/lib/python2.7/site-packeges -arch armv7 -g -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/hostpython/include/python2.7 -I/Users/MacUser/kivy-ios/.buildozer/ios/platform/kivy-ios/dist/hostpython/include/python2.7 -c scanner.c -o build/temp.macosx-10.13-x86_64-2.7/scanner.o
creating build/lib.macosx-10.13-x86_64-2.7
/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/tools/liblink -arch armv7 --sysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -L/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/lib -lsqlite3 -miphoneos-version-min=6.0.0 -lios -lpython -lzbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/armv7/libzbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/armv7/libzbar/zbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/armv7/lib-I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/root/python/lib/python2.7/site-packeges -arch armv7 -g build/temp.macosx-10.13-x86_64-2.7/zbarmodule.o build/temp.macosx-10.13-x86_64-2.7/enum.o build/temp.macosx-10.13-x86_64-2.7/exception.o build/temp.macosx-10.13-x86_64-2.7/symbol.o build/temp.macosx-10.13-x86_64-2.7/symbolset.o build/temp.macosx-10.13-x86_64-2.7/symboliter.o build/temp.macosx-10.13-x86_64-2.7/image.o build/temp.macosx-10.13-x86_64-2.7/processor.o build/temp.macosx-10.13-x86_64-2.7/imagescanner.o build/temp.macosx-10.13-x86_64-2.7/decoder.o build/temp.macosx-10.13-x86_64-2.7/scanner.o -lzbar -o build/lib.macosx-10.13-x86_64-2.7/zbar.so
('Liblink redirect linking with', ['build/temp.macosx-10.13-x86_64-2.7/zbarmodule.o', 'build/temp.macosx-10.13-x86_64-2.7/enum.o', 'build/temp.macosx-10.13-x86_64-2.7/exception.o', 'build/temp.macosx-10.13-x86_64-2.7/symbol.o', 'build/temp.macosx-10.13-x86_64-2.7/symbolset.o', 'build/temp.macosx-10.13-x86_64-2.7/symboliter.o', 'build/temp.macosx-10.13-x86_64-2.7/image.o', 'build/temp.macosx-10.13-x86_64-2.7/processor.o', 'build/temp.macosx-10.13-x86_64-2.7/imagescanner.o', 'build/temp.macosx-10.13-x86_64-2.7/decoder.o', 'build/temp.macosx-10.13-x86_64-2.7/scanner.o'])
ld: warning: URGENT: building for iOS, but linking in object file (build/temp.macosx-10.13-x86_64-2.7/zbarmodule.o) built for OSX. Note: This will be an error in the future.
ld: warning: object file (build/temp.macosx-10.13-x86_64-2.7/zbarmodule.o) was built for newer OSX version (10.13) than being linked (7.0)
ld: warning: URGENT: building for iOS, but linking in object file (build/temp.macosx-10.13-x86_64-2.7/enum.o) built for OSX. Note: This will be an error in the future.
ld: warning: object file (build/temp.macosx-10.13-x86_64-2.7/enum.o) was built for newer OSX version (10.13) than being linked (7.0)
ld: warning: URGENT: building for iOS, but linking in object file (build/temp.macosx-10.13-x86_64-2.7/exception.o) built for OSX. Note: This will be an error in the future.
ld: warning: object file (build/temp.macosx-10.13-x86_64-2.7/exception.o) was built for newer OSX version (10.13) than being linked (7.0)
ld: warning: URGENT: building for iOS, but linking in object file (build/temp.macosx-10.13-x86_64-2.7/symbol.o) built for OSX. Note: This will be an error in the future.
ld: warning: object file (build/temp.macosx-10.13-x86_64-2.7/symbol.o) was built for newer OSX version (10.13) than being linked (7.0)
ld: warning: URGENT: building for iOS, but linking in object file (build/temp.macosx-10.13-x86_64-2.7/symbolset.o) built for OSX. Note: This will be an error in the future.
ld: warning: object file (build/temp.macosx-10.13-x86_64-2.7/symbolset.o) was built for newer OSX version (10.13) than being linked (7.0)
ld: warning: URGENT: building for iOS, but linking in object file (build/temp.macosx-10.13-x86_64-2.7/symboliter.o) built for OSX. Note: This will be an error in the future.
ld: warning: object file (build/temp.macosx-10.13-x86_64-2.7/symboliter.o) was built for newer OSX version (10.13) than being linked (7.0)
ld: warning: URGENT: building for iOS, but linking in object file (build/temp.macosx-10.13-x86_64-2.7/image.o) built for OSX. Note: This will be an error in the future.
ld: warning: object file (build/temp.macosx-10.13-x86_64-2.7/image.o) was built for newer OSX version (10.13) than being linked (7.0)
ld: warning: URGENT: building for iOS, but linking in object file (build/temp.macosx-10.13-x86_64-2.7/processor.o) built for OSX. Note: This will be an error in the future.
ld: warning: object file (build/temp.macosx-10.13-x86_64-2.7/processor.o) was built for newer OSX version (10.13) than being linked (7.0)
ld: warning: URGENT: building for iOS, but linking in object file (build/temp.macosx-10.13-x86_64-2.7/imagescanner.o) built for OSX. Note: This will be an error in the future.
ld: warning: object file (build/temp.macosx-10.13-x86_64-2.7/imagescanner.o) was built for newer OSX version (10.13) than being linked (7.0)
ld: warning: URGENT: building for iOS, but linking in object file (build/temp.macosx-10.13-x86_64-2.7/decoder.o) built for OSX. Note: This will be an error in the future.
ld: warning: ld: warning: URGENT: building for iOS, but linking in object file (build/temp.macosx-10.13-x86_64-2.7/scanner.o) built for OSX. Note: This will be an error in the future.object file (build/temp.macosx-10.13-x86_64-2.7/decoder.o) was built for newer OSX version (10.13) than being linked (7.0)

ld: warning: object file (build/temp.macosx-10.13-x86_64-2.7/scanner.o) was built for newer OSX version (10.13) than being linked (7.0)
Biglink create /Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/build/zbar/armv7/zbar-0.10/build/lib.macosx-10.13-x86_64-2.7 library
ar: /Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/build/zbar/armv7/zbar-0.10/build/lib.macosx-10.13-x86_64-2.7: Is a directory
Postbuild zbar for armv7
Build zbar
Prebuild zbar for arm64
Apply patch zbar-0.10-python-crash.patch
Build zbar for arm64
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
running build_ext
building 'zbar' extension
creating build
creating build/temp.macosx-10.13-x86_64-2.7
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/arm64/libzbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/arm64/libzbar/zbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/arm64/lib-I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/root/python/lib/python2.7/site-packeges -arch arm64 -g -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/hostpython/include/python2.7 -I/Users/MacUser/kivy-ios/.buildozer/ios/platform/kivy-ios/dist/hostpython/include/python2.7 -c zbarmodule.c -o build/temp.macosx-10.13-x86_64-2.7/zbarmodule.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/arm64/libzbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/arm64/libzbar/zbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/arm64/lib-I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/root/python/lib/python2.7/site-packeges -arch arm64 -g -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/hostpython/include/python2.7 -I/Users/MacUser/kivy-ios/.buildozer/ios/platform/kivy-ios/dist/hostpython/include/python2.7 -c enum.c -o build/temp.macosx-10.13-x86_64-2.7/enum.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/arm64/libzbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/arm64/libzbar/zbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/arm64/lib-I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/root/python/lib/python2.7/site-packeges -arch arm64 -g -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/hostpython/include/python2.7 -I/Users/MacUser/kivy-ios/.buildozer/ios/platform/kivy-ios/dist/hostpython/include/python2.7 -c exception.c -o build/temp.macosx-10.13-x86_64-2.7/exception.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/arm64/libzbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/arm64/libzbar/zbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/arm64/lib-I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/root/python/lib/python2.7/site-packeges -arch arm64 -g -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/hostpython/include/python2.7 -I/Users/MacUser/kivy-ios/.buildozer/ios/platform/kivy-ios/dist/hostpython/include/python2.7 -c symbol.c -o build/temp.macosx-10.13-x86_64-2.7/symbol.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/arm64/libzbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/arm64/libzbar/zbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/arm64/lib-I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/root/python/lib/python2.7/site-packeges -arch arm64 -g -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/hostpython/include/python2.7 -I/Users/MacUser/kivy-ios/.buildozer/ios/platform/kivy-ios/dist/hostpython/include/python2.7 -c symbolset.c -o build/temp.macosx-10.13-x86_64-2.7/symbolset.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/arm64/libzbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/arm64/libzbar/zbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/arm64/lib-I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/root/python/lib/python2.7/site-packeges -arch arm64 -g -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/hostpython/include/python2.7 -I/Users/MacUser/kivy-ios/.buildozer/ios/platform/kivy-ios/dist/hostpython/include/python2.7 -c symboliter.c -o build/temp.macosx-10.13-x86_64-2.7/symboliter.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/arm64/libzbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/arm64/libzbar/zbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/arm64/lib-I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/root/python/lib/python2.7/site-packeges -arch arm64 -g -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/hostpython/include/python2.7 -I/Users/MacUser/kivy-ios/.buildozer/ios/platform/kivy-ios/dist/hostpython/include/python2.7 -c image.c -o build/temp.macosx-10.13-x86_64-2.7/image.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/arm64/libzbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/arm64/libzbar/zbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/arm64/lib-I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/root/python/lib/python2.7/site-packeges -arch arm64 -g -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/hostpython/include/python2.7 -I/Users/MacUser/kivy-ios/.buildozer/ios/platform/kivy-ios/dist/hostpython/include/python2.7 -c processor.c -o build/temp.macosx-10.13-x86_64-2.7/processor.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/arm64/libzbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/arm64/libzbar/zbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/arm64/lib-I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/root/python/lib/python2.7/site-packeges -arch arm64 -g -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/hostpython/include/python2.7 -I/Users/MacUser/kivy-ios/.buildozer/ios/platform/kivy-ios/dist/hostpython/include/python2.7 -c imagescanner.c -o build/temp.macosx-10.13-x86_64-2.7/imagescanner.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/arm64/libzbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/arm64/libzbar/zbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/arm64/lib-I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/root/python/lib/python2.7/site-packeges -arch arm64 -g -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/hostpython/include/python2.7 -I/Users/MacUser/kivy-ios/.buildozer/ios/platform/kivy-ios/dist/hostpython/include/python2.7 -c decoder.c -o build/temp.macosx-10.13-x86_64-2.7/decoder.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/arm64/libzbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/arm64/libzbar/zbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/arm64/lib-I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/root/python/lib/python2.7/site-packeges -arch arm64 -g -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/hostpython/include/python2.7 -I/Users/MacUser/kivy-ios/.buildozer/ios/platform/kivy-ios/dist/hostpython/include/python2.7 -c scanner.c -o build/temp.macosx-10.13-x86_64-2.7/scanner.o
creating build/lib.macosx-10.13-x86_64-2.7
/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/tools/liblink -arch arm64 --sysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -L/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/lib -lsqlite3 -miphoneos-version-min=7.0 -lios -lpython -lzbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/arm64/libzbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/arm64/libzbar/zbar -I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/include/arm64/lib-I/Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/root/python/lib/python2.7/site-packeges -arch arm64 -g build/temp.macosx-10.13-x86_64-2.7/zbarmodule.o build/temp.macosx-10.13-x86_64-2.7/enum.o build/temp.macosx-10.13-x86_64-2.7/exception.o build/temp.macosx-10.13-x86_64-2.7/symbol.o build/temp.macosx-10.13-x86_64-2.7/symbolset.o build/temp.macosx-10.13-x86_64-2.7/symboliter.o build/temp.macosx-10.13-x86_64-2.7/image.o build/temp.macosx-10.13-x86_64-2.7/processor.o build/temp.macosx-10.13-x86_64-2.7/imagescanner.o build/temp.macosx-10.13-x86_64-2.7/decoder.o build/temp.macosx-10.13-x86_64-2.7/scanner.o -lzbar -o build/lib.macosx-10.13-x86_64-2.7/zbar.so
('Liblink redirect linking with', ['build/temp.macosx-10.13-x86_64-2.7/zbarmodule.o', 'build/temp.macosx-10.13-x86_64-2.7/enum.o', 'build/temp.macosx-10.13-x86_64-2.7/exception.o', 'build/temp.macosx-10.13-x86_64-2.7/symbol.o', 'build/temp.macosx-10.13-x86_64-2.7/symbolset.o', 'build/temp.macosx-10.13-x86_64-2.7/symboliter.o', 'build/temp.macosx-10.13-x86_64-2.7/image.o', 'build/temp.macosx-10.13-x86_64-2.7/processor.o', 'build/temp.macosx-10.13-x86_64-2.7/imagescanner.o', 'build/temp.macosx-10.13-x86_64-2.7/decoder.o', 'build/temp.macosx-10.13-x86_64-2.7/scanner.o'])
ld: warning: URGENT: building for iOS, but linking in object file (build/temp.macosx-10.13-x86_64-2.7/zbarmodule.o) built for OSX. Note: This will be an error in the future.
ld: warning: object file (build/temp.macosx-10.13-x86_64-2.7/zbarmodule.o) was built for newer OSX version (10.13) than being linked (7.0)
ld: warning: URGENT: building for iOS, but linking in object file (build/temp.macosx-10.13-x86_64-2.7/enum.o) built for OSX. Note: This will be an error in the future.
ld: warning: object file (build/temp.macosx-10.13-x86_64-2.7/enum.o) was built for newer OSX version (10.13) than being linked (7.0)
ld: warning: URGENT: building for iOS, but linking in object file (build/temp.macosx-10.13-x86_64-2.7/exception.o) built for OSX. Note: This will be an error in the future.
ld: warning: object file (build/temp.macosx-10.13-x86_64-2.7/exception.o) was built for newer OSX version (10.13) than being linked (7.0)
ld: warning: URGENT: building for iOS, but linking in object file (build/temp.macosx-10.13-x86_64-2.7/symbol.o) built for OSX. Note: This will be an error in the future.
ld: warning: object file (build/temp.macosx-10.13-x86_64-2.7/symbol.o) was built for newer OSX version (10.13) than being linked (7.0)
ld: warning: URGENT: building for iOS, but linking in object file (build/temp.macosx-10.13-x86_64-2.7/symbolset.o) built for OSX. Note: This will be an error in the future.
ld: warning: object file (build/temp.macosx-10.13-x86_64-2.7/symbolset.o) was built for newer OSX version (10.13) than being linked (7.0)
ld: warning: URGENT: building for iOS, but linking in object file (build/temp.macosx-10.13-x86_64-2.7/symboliter.o) built for OSX. Note: This will be an error in the future.
ld: warning: object file (build/temp.macosx-10.13-x86_64-2.7/symboliter.o) was built for newer OSX version (10.13) than being linked (7.0)ld: warning: 
URGENT: building for iOS, but linking in object file (build/temp.macosx-10.13-x86_64-2.7/image.o) built for OSX. Note: This will be an error in the future.ld: warning: 
URGENT: building for iOS, but linking in object file (build/temp.macosx-10.13-x86_64-2.7/processor.o) built for OSX. Note: This will be an error in the future.ld: warning: 
object file (build/temp.macosx-10.13-x86_64-2.7/image.o) was built for newer OSX version (10.13) than being linked (7.0)ld: warning: ld: warning: ld: warning: 
URGENT: building for iOS, but linking in object file (build/temp.macosx-10.13-x86_64-2.7/imagescanner.o) built for OSX. Note: This will be an error in the future.object file (build/temp.macosx-10.13-x86_64-2.7/processor.o) was built for newer OSX version (10.13) than being linked (7.0)ld: warning: URGENT: building for iOS, but linking in object file (build/temp.macosx-10.13-x86_64-2.7/decoder.o) built for OSX. Note: This will be an error in the future.

URGENT: building for iOS, but linking in object file (build/temp.macosx-10.13-x86_64-2.7/scanner.o) built for OSX. Note: This will be an error in the future.
ld: warning: 
ld: warning: object file (build/temp.macosx-10.13-x86_64-2.7/imagescanner.o) was built for newer OSX version (10.13) than being linked (7.0)ld: warning: object file (build/temp.macosx-10.13-x86_64-2.7/decoder.o) was built for newer OSX version (10.13) than being linked (7.0)
object file (build/temp.macosx-10.13-x86_64-2.7/scanner.o) was built for newer OSX version (10.13) than being linked (7.0)

Biglink create /Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/build/zbar/arm64/zbar-0.10/build/lib.macosx-10.13-x86_64-2.7 library
ar: /Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/build/zbar/arm64/zbar-0.10/build/lib.macosx-10.13-x86_64-2.7: Is a directory
Postbuild zbar for arm64
Install include files for zbar
Install_include zbar
Install frameworks for zbar
Install_frameworks zbar
Install sources for zbar
Install_sources zbar
Install zbar
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
running install
running build
running build_ext
running install_lib
copying build/lib.macosx-10.13-x86_64-2.7/zbar.so -> /Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/root/python/lib/python2.7/site-packages
copying build/lib.macosx-10.13-x86_64-2.7/zbar.so.libs -> /Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/root/python/lib/python2.7/site-packages
copying build/lib.macosx-10.13-x86_64-2.7/zbar.so.o -> /Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/root/python/lib/python2.7/site-packages
running install_egg_info
Removing /Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/root/python/lib/python2.7/site-packages/zbar-0.10-py2.7.egg-info
Writing /Users/MacUser/PycharmProjects/Fin/Fin-Aquatic-Rentals-master/.buildozer/ios/platform/kivy-ios/dist/root/python/lib/python2.7/site-packages/zbar-0.10-py2.7.egg-info
Mac:kivy-ios MacUser$ 

It doesn't crash and this line seems troubling.

Install zbar
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]

My kivy site-packages does have the zbar egg file but no zbar package which I think is due to the issue above.

GoBig87 commented 6 years ago

So I was looking at my anaconda site packages and the only thing that shows up there for zbar is zbar.so and I looked at zbarlight and the only thing that showed up for it was zbarlight/_zbarlight.so and zbarlight/_zbarlight.c I was expecting something else I think but I think all thats produced is a zbar.so file. I might actually be done with the recipes!

GoBig87 commented 6 years ago

Alright I think I've finished the recipe section. I looked at PIL and it also had .so files but theose

GoBig87 commented 6 years ago

I think I'm finally done now! I explored pil and zbar in my anacondas site-packages and things started making more sense. After the zbar or pil is extracted you need to run the build command on them to to get all the .o .so and .so.libs files. Once you have those you link all the .so.libs together to get a fat .a file with all the archs in it. I'm not 100% sure but this is what pil seems to be doing and I've updated my zbarlight recipe as follows.

import os
from toolchain import Recipe,shprint
from os.path import join
import sh
import fnmatch

class ZbarLightRecipe(Recipe):
    version = '1.2'
    url = 'https://github.com/Polyconseil/zbarlight/archive/{version}.tar.gz'
    library = "zbarlight.a"
    depends = ['hostpython','python', 'host_setuptools', 'libzbar','pil']
    pbx_libraries = ["libz","libbz2",'libc++','libsqlite3','CoreMotion']
    include_per_arch = True

    def get_zbar_env(self, arch):
        build_env = arch.get_env()
        dest_dir = join(self.ctx.dist_dir, "root", "python")
        build_env["IOSROOT"] = self.ctx.root_dir
        build_env["IOSSDKROOT"] = arch.sysroot
        build_env["LDSHARED"] = join(self.ctx.root_dir, "tools", "liblink")
        build_env["ARM_LD"] = build_env["LD"]
        build_env["ARCH"] = arch.arch
        build_env["C_INCLUDE_PATH"] = join(arch.sysroot, "usr", "include")
        build_env["LIBRARY_PATH"] = join(arch.sysroot, "usr", "lib")
        build_env['PYTHONPATH'] = join(dest_dir, 'lib', 'python2.7', 'site-packages')
        build_env["CFLAGS"] = " ".join([
            "-I{}".format(join(self.ctx.dist_dir, "include", arch.arch, "libzbar")) +
            " -I{}".format(join(self.ctx.dist_dir, "include", arch.arch, "libzbar",'zbar')) +
            " -I{}".format(join(self.ctx.dist_dir, "include", arch.arch, "lib")) +
            "-I{}".format(join(self.ctx.dist_dir, "root", 'python', 'lib', 'python2.7', "site-packeges")) +
            " -arch {}".format(arch.arch)
            ])
        build_env['LDFLAGS'] += " -lios -lpython -lzbar"
        return build_env

    def build_arch(self, arch):
        build_env = self.get_zbar_env(arch)
        hostpython = sh.Command(self.ctx.hostpython)
        shprint(hostpython, "setup.py", "build",
                _env=build_env)
        self.biglink()

    def install(self):
        pass

    def biglink(self):
        dirs = []
        for root, dirnames, filenames in os.walk(self.build_dir):
            if fnmatch.filter(filenames, "*.so.libs"):
                dirs.append(root)
        cmd = sh.Command(join(self.ctx.root_dir, "tools", "biglink"))
        shprint(cmd, join(self.build_dir, "zbarlight.a"), *dirs)

recipe = ZbarLightRecipe()
AndreMiras commented 6 years ago

How is it going @GoBig87 ? Could you share your progress or even some of your code. Perhaps we can already host some of your recipes in the repository, even though it's in on-going status?

GoBig87 commented 6 years ago

Alright status update. After tons of patches and recipe creations I've got the app to load and the camera widget to pop up but unfortunately its just a black screen at the moment. I'm making progress but every hurdle I clear another pops up in front of it. Ive applied a lot of patches from all over the place. I might need to just make a kivy-ios branch with all the changes that need to be implemented to get this to work.

AndreMiras commented 6 years ago

Awesome, nice progress! I would really love to help here. But I don't have anything to develop/test on iOS. I wish I could easily on Linux. The black screen rings the bell to me. I think I've seen somewhere people complaining about that, but probably for Android. Could you get some sort of device logs, with something relevant maybe? Also since you made a lot of changes, perhaps you could already try to share your recipes upstream. Maybe not all of them, but the ones you're sure off and the libraries that could interest other developers. Last thing, are you able to reproduce the black screen issue on the iOS emulator? Because I may find a way to run an emulator.

GoBig87 commented 6 years ago

Here's the xcode log, not much there

2018-06-16 14:07:25.396042-0700 myapp[1039:1188957] [DYMTLInitPlatform] platform initialization successful
2018-06-16 14:07:25.431968-0700 myapp[1039:1188831] +[CATransaction synchronize] called within transaction
2018-06-16 14:07:25.508457-0700 myapp[1039:1188831] Available orientation: KIVY_ORIENTATION=LandscapeLeft LandscapeRight Portrait PortraitUpsideDown
2018-06-16 14:07:25.508514-0700 myapp[1039:1188831] PythonHome is: /var/containers/Bundle/Application/7301FB13-6891-42F2-A7A4-FA5BC0F2BECB/myapp.app
2018-06-16 14:07:25.509579-0700 myapp[1039:1188831] Initializing python
2018-06-16 14:07:25.563739-0700 myapp[1039:1188831] Running main.pyo: /var/containers/Bundle/Application/7301FB13-6891-42F2-A7A4-FA5BC0F2BECB/myapp.app/YourApp/main.pyo
[INFO   ] [Kivy        ] v1.10.0
[INFO   ] [Python      ] v2.7.1 (r271:86832, Jun 15 2018, 22:03:07) 
[GCC 4.2.1 Compatible Apple LLVM 9.1.0 (clang-902.0.39.2)]
[INFO   ] [Factory     ] 194 symbols loaded
[INFO   ] [Image       ] Providers: img_imageio, img_tex (img_dds, img_sdl2, img_ffpyplayer, img_pil, img_gif ignored)
[INFO   ] [Camera      ] Provider: avfoundation
[INFO   ] [Text        ] Provider: sdl2
Got dlopen error on Foundation: dlopen(/System/Library/Frameworks/Foundation.framework/Versions/Current/Foundation, 1): image not found
Got fallback dlopen error on Foundation: dlopen(/Groups/System/Library/Frameworks/Foundation.framework/Versions/Current/Foundation, 1): image not found
Util debug 1
[INFO   ] [OSC         ] using <thread> for socket
[INFO   ] [Window      ] Provider: sdl2
2018-06-16 14:07:26.565532-0700 myapp[1039:1188831] Metal GPU Frame Capture Enabled
2018-06-16 14:07:26.566021-0700 myapp[1039:1188831] Metal API Validation Enabled
[INFO   ] [GL          ] Using the "OpenGL ES 2" graphics system
[INFO   ] [GL          ] Backend used <sdl2>
[INFO   ] [GL          ] OpenGL version <OpenGL ES 2.0 Metal - 52.3.2>
[INFO   ] [GL          ] OpenGL vendor <Apple Inc.>
[INFO   ] [GL          ] OpenGL renderer <Apple A9 GPU>
[INFO   ] [GL          ] OpenGL parsed version: 2, 0
[INFO   ] [GL          ] Shading version <OpenGL ES GLSL ES 1.00>
[INFO   ] [GL          ] Texture max size <4096>
[INFO   ] [GL          ] Texture max units <8>
[INFO   ] [Window      ] auto add sdl2 input provider
[INFO   ] [Window      ] virtual keyboard not allowed, single mode, not docked
2018-06-16 14:07:26.676059-0700 myapp[1039:1188831] [MC] System group container for systemgroup.com.apple.configurationprofiles path is /private/var/containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles
2018-06-16 14:07:26.676484-0700 myapp[1039:1188831] [MC] Reading from public effective user settings.
2018-06-16 14:07:26.686371-0700 myapp[1039:1188831] *** -[AVCaptureVideoDataOutput setVideoSettings:] - videoSettings dictionary contains one or more unsupported (ignored) keys: (
    Width,
    Height
)
2018-06-16 14:07:26.686582-0700 myapp[1039:1188831] WARNING: -[<AVCaptureVideoDataOutput: 0xc0621e00> setMinFrameDuration:] is deprecated. Please use AVCaptureDevice setActiveVideoMinFrameDuration
Util debug 3
(''###.###.###.###', 8080)
{"rsp":" logged in."}
 logged in.
('###.###.###.###;, 8080)
{"rsp":{"User_On_File":True,"Start_Time":"None"}}
('###.###.###.###', 8080)
{"Lock_Status": "D", "TIME": "NOW"}}
[INFO   ] [GL          ] NPOT texture support is available
pop made1
[INFO   ] [Base        ] Start application main loop
[INFO   ] [GL          ] BGRA texture support is available
Downloader error: IOError(1, 'Operation not permitted')
Downloader error: IOError(1, 'Operation not permitted')
Downloader error: IOError(1, 'Operation not permitted')

And I've only been running the app through an iphone 6s, not the emulator yet.

GoBig87 commented 6 years ago

Just got done running it on my iphone simulator which is all black too. Maybe somethings wrong with xcamera's code or kivy's camera widget. I had zbarcam working on my macbook which should utilize AVfoundation as the camera source. So that works on macs OSX but not on iOS for some reason...

AndreMiras commented 6 years ago

Great, yes regarding the provider, this is exactly what I wanted to check. I didn't know it was called AVfoundation. But yes the idea is to check with only xcamera see if it's also black. It would probably be also.

Oh wait, I found the upstream issue :) https://github.com/kivy/kivy/issues/3965

GoBig87 commented 6 years ago

I've went through that issue and this issue https://github.com/kivy/kivy/issues/5273. Making a patch with the suggested fix in 5273 didn't fix it. I've also set the KIVY_GLES_LIMITS=0 too.

AndreMiras commented 6 years ago

Agr annoying then, try asking for some support there too. At least say on 3965 that you're affected too. Also provide meaningful debug info and context like you did here. I'll try installing OSX VM and play with it when I get more time next week.

GoBig87 commented 6 years ago

I've also tried just loading a plain Camera widget from kivy instead of the zbar camera and it's still black so the issue is before the xcamera or zbar.

AndreMiras commented 6 years ago

Yes clearly is an upstream issue. But you said you've tried patching with self._format = 'rgba' in CameraAVFoundation._update(). Please add a debug trace to make sure the patch made it. Because sometime somehow the code doesn't get fully recompiled before deployment and you're actually deploying an old version on device. So to make sure I usually add debug traces (could be just print) that I can double check in device logs.

GoBig87 commented 6 years ago

I've got the camera working now! I had to set the values to 'rbga' not 'bgra' with my patch

        if self._texture is None or self._texture.size != self._resolution:
            self._texture = Texture.create(self._resolution, colorfmt='rgba')
            self._texture.flip_vertical()
            self.dispatch('on_load')

        self._buffer = <bytes>data[:rowsize * height]
        self._format = 'rgba'
        self._copy_to_gpu()

And it picked up the QR code too!

AndreMiras commented 6 years ago

Oh man congrats, I'm very happy to ear. You were very tenacious, that's the good attitude, Kivy is quite experimental, specially on smart devices, but you made it, well done! I'm curious to see how is this integrating with buildozer rather than bare toolchain.py. Looks like custom recipe should go to ios.kivy_ios_dir, but I'm not sure. Please make the required upstream pull request with your updated recipes, I can't wait to see it. Also you can make some pull requests here, for documenting or sharing some recipes. Last, if you have a Bitcoin or Ethereum donation address, please share it here or by email (see my email in commit history) I'd like to reward all your efforts. But I want to see the code first :wink:

GoBig87 commented 6 years ago

I used buildozer to build my ios packages but I would also use ./toolchain.py to clean and rebuild recipes. Buildozer right now has some hiccups with OSX/ios. You have to run buildozer, it fails, then run ./toolchain.py build hostpython and after that you can then build recipes. Then it will fail because you need to add your devolper ID in xcode. Then it fails because you need to link some binaries (libc++, libsqlite3, libbz... ect). Then you need to also turn bit code off... But after all that it will build your project! So with my recipes and patches right now buildozer can run no problem once I get it all tweaked properly.

I'll clean some stuff up and work on making some pull requests tonight. The code works right now but there's still some issues that need to be cleaned up in the xcamera like auto focus and force orientation for ios. But overall functionality is working now.

AndreMiras commented 6 years ago

OK I understand for buildozer on OSX/iOS still has a long road to go :) OK for the cleaning, and yes for autofocus and all of that, I also went through these issues on Android. Looking forward to seeing your pull request. I'll be quite busy in the coming week, but I'll try to free some time to follow that. Thanks again

GoBig87 commented 6 years ago

Alright got a pull request thats up https://github.com/kivy/kivy-ios/pull/289. And here's a gif of it in action...ish https://imgur.com/a/wUxxGIZ. My app is supposed to unlock a bluetooth padlock once it scans the barcode but thats not working yet for iOS so it crashes once it picks up a valid bar code.

  File "/Users/MacUser/PycharmProjects/Fin3/.buildozer/ios/platform/kivy-ios/myapp-ios/YourApp/libs/garden/garden.zbarcam/zbarcam/zbarcam.py", line 93, in _detect_qrcode_frame
   File "kivy/properties.pyx", line 478, in kivy.properties.Property.__set__ (kivy/properties.c:5171)
   File "kivy/properties.pyx", line 815, in kivy.properties.ListProperty.set (kivy/properties.c:11368)
   File "kivy/properties.pyx", line 516, in kivy.properties.Property.set (kivy/properties.c:5933)
   File "kivy/properties.pyx", line 571, in kivy.properties.Property.dispatch (kivy/properties.c:6614)
   File "kivy/_event.pyx", line 1225, in kivy._event.EventObservers.dispatch (kivy/_event.c:13524)
   File "kivy/_event.pyx", line 1131, in kivy._event.EventObservers._dispatch (kivy/_event.c:12723)
   File "/Users/MacUser/PycharmProjects/Fin3/.buildozer/ios/platform/kivy-ios/myapp-ios/YourApp/ScanningScreen.py", line 86, in on_symbols
   File "/Users/MacUser/PycharmProjects/Fin3/.buildozer/ios/platform/kivy-ios/myapp-ios/YourApp/ScanningScreen.py", line 92, in checkName
   File "/Users/MacUser/PycharmProjects/Fin3/.buildozer/ios/platform/kivy-ios/myapp-ios/YourApp/ScanningScreen.py", line 99, in unlockNoke
 NameError: global name 'nokeLock' is not defined
2018-06-16 20:52:35.237122-0700 myapp[1124:1323959] Application quit abnormally!
2018-06-16 20:52:35.307142-0700 myapp[1124:1323959] Leaving

The zbarcam was definitely a good learning experience that I'm going to need to incorporate the bluetooth lock (and stripe too...)into my app. From the wasteland thats kivy-ios looks like it will be quite lonely for help.

dbrova15 commented 4 years ago

HELP!!!

When I try to download an application in Apple Store Connect I get an error "Couldn't find platform family in Info.plist CFBundleSupportedPlatforms or Mach-O LC_VERSION_MIN for modplug". Who knows how to fix this? изображение

I tried the following methods: Removed unnecessary files from Copy Bundle Resources. In plist added:

<key>CFBundleSupportedPlatforms</key>
<array>
    <string>iPhoneOS</string>
</array> 

I was looking for .dSYM files in the project. I didn’t find anything. What else can you do? I've been trying to fix this for two days now.

os: macOS 10.13.6 xcode: Version 10.1 (10B61)

dbrova15 commented 4 years ago

HELP!!!

When I try to download an application in Apple Store Connect I get an error "Couldn't find platform family in Info.plist CFBundleSupportedPlatforms or Mach-O LC_VERSION_MIN for modplug". Who knows how to fix this? изображение

I tried the following methods: Removed unnecessary files from Copy Bundle Resources. In plist added:

<key>CFBundleSupportedPlatforms</key>
<array>
    <string>iPhoneOS</string>
</array> 

I was looking for .dSYM files in the project. I didn’t find anything. What else can you do? I've been trying to fix this for two days now.

os: macOS 10.13.6 xcode: Version 10.1 (10B61)

I solved the problem. First I deleted the ~ / Library / Developer / Xcode / DerivedData / ModuleCache directory. Then I downloaded kivy-ios again, set up toochain and created a project. And only then I was able to download the application in the Apple Store Connect.

Cheaterman commented 3 years ago

I don't get it. How is this supposed to work exactly, given pyzbar uses ctypes.util.find_library (and cdll.LoadLibrary), which won't work on iOS given the requirement to only bundle static libraries? It most certainly doesn't work here - essentially I get subprocess module has no attribute Popen because ctypes.util.find_library uses it.

EDIT: Possibly garden.zbarcam used to depend on ZBarLight instead of pyzbar?

EDIT2: Aaaaaaaaaaaaaaaaaaaaah.

EDIT3: I guess I'll fork this and revert to zbarlight... Or yet better, make it so that garden.zbarcam picks whatever implementation is available at runtime.

EDIT4: See #42 for the "available implementation picker" thingy. Hopefully someone gets use out of it. :-)

misl6 commented 3 years ago

Hi guys, We're now able to natively scan QRCodes (and with some minor changes also all the machine readable codes mentioned over here: https://developer.apple.com/documentation/avfoundation/avmetadatamachinereadablecodeobject/machine-readable_object_types?language=objc)

The changes that are been recently merged into Kivy master: https://github.com/kivy/kivy/commit/e16794aa7d98f5b849222971f7a56fe8ab9a3d9c

I did a test on reading a QRCode and works a far better than his zbar-powered counterpart on Android.

How it sounds to you guys about creating some sort of MachineReadableCodeCamera that basically provides a cross-platform way to instantiate a camera widget capable of reading QRCodes and Barcodes?

I was thinking to do that directly into zbarcam, but starting from the name itself it's so tightened to pyzbar and zbarlight.

AndreMiras commented 3 years ago

Sounds like a good idea. How about trying that in a dedicated (from scratch) garden library? I can't pilote it as I'm currently very busy outside Kivy

Cheaterman commented 3 years ago

IMHO it's not sensible unless we get an Android equivalent?

cryptoone commented 2 years ago

ZBARCAM is still not working on IOS !! been going through every thing on this issue, and none of the mentioned actually works; also the link of GOBIG87 in which he claims to have a complete working build is invalid.

if not, is there any replacement IOS barcode scanner to use ? Please I need help with this ASAP.

GoBig87 commented 2 years ago

If you want to check out a more native barcode scanner you can use this https://github.com/psychowasp/KivySwiftLink. I’ve seen some camera work that’s been implemented with using this tool and it handles >1080p video flawlessly. It might be a little more work but it will work way better. You’ll have to implement the bar code scanner in swift but you can then import and use it in kivy.

I used the zbar camera for an iOS app and it was pretty clunky but did work. This new method for interacting with swift is MUCH faster.

cryptoone commented 2 years ago

HI GoBig87,

thank you for your response

I've been following your work, and it seems that you got ZBARCAM working on IOS, but the link you posted for the build is expired. is there any chance you still have the patched ZBARCAM for IOS around, and can share it with me ? what do you mean saying that it's clunky ? did it crash the app or what? thanks

GoBig87 commented 2 years ago

Use this tag as it still uses zbarlight https://github.com/kivy-garden/zbarcam/tree/2019.0222. This is a zipfile of the kivy-ios (https://drive.google.com/file/d/1aTbriycOMt0pE566BqcbNOCNq4z4pzWA/view?usp=sharing) that I was using but I switched my app over to Swift and haven't made an ios build in about 2 years. No idea if it will work anymore. Inside there should be the zbar recipes. You need to build libzbar.a and also zbarlight as the python wrapper requires libzbar.a

The frame rate was just really slow and starting and stop the camera was pretty resource intensive. It picked up barcodes like a champ though! If the kivy-ios recipes in there work for you then great but if its a head ache I would highly recommend trying out the KivySwiftLink by @PsychoWasp

cryptoone commented 2 years ago

no matter what i do, zbaram 2019.0222 wouldn't install; it gives me long list of errors, that summerized with a missing file, which is zbar.h. same for zbarlight==1.2, only zbarlight==3 can be installed.

i did install zbar, which seems a very strange issue. i'm using latest kivy master; should also go back to kivy 1.10.1 !!

cryptoone commented 2 years ago

still looking is there any QR widget / example that is properly working for kivy on IOS phone ? zbarcam not working on IOS; and AVFoundation has no true example anywhere !!

GoBig87 commented 2 years ago

Oh thats right, hold on you need to manually copy the zbar.h file over somewhere. Inside of or your kivy-ios build folder copy zbar.h to ./build/hostpython3/python3/include/zbar.h and also inside your dist folder copy zbar.h there too under ./dist/root/python3/include/python3.7m/zbar.h. basically you need to copy the zbar.h file into the propery python include folder so that it can link it properly. I think there's an issue with hard coded OSX version that messes up the copying of the files properly.

dvjdjvu commented 1 year ago

Hello. Has anyone done this (use qr scanner in iPhone)? If yes, give example. Thank you so much.

PythonSwiftLink commented 1 year ago

https://github.com/kivy/kivy/blob/01049a8f4536f42a5129e62863053c1a274e8665/kivy/core/camera/camera_avfoundation.pyx#L158 just call camera.start_metadata_analysis when on ios and pass a function as arg for the callback.that will give the result