Skip to content

libzbar recipe missing libiconv dependency #676

@RobertFlatt

Description

@RobertFlatt

Versions

  • Python : 3.9.9
  • MacOS version : 11.6.3
  • XCode Version : 13.2.1
  • Cython version :0.29.28
  • kivy-ios : master

Describe the bug
The "play" step in Xcode fails with a link error.

To Reproduce

toolchain distclean
toolchain build python3 kivy
toolchain build libzbar
toolchain create xxx yyy
open xxx-ios/xxx.xcodeproj
"press play"

Expected behavior

The failed link apperars due to an unknown missing assembler library. This should be included in the xcodeproj files, as is the case for other library dependencies.

Logs

Undefined symbols for architecture x86_64:
  "_iconv", referenced from:
      _qr_code_data_list_extract_text in libzbar.a(libzbar_la-qrdectxt.o)
     (maybe you meant: _SDL_iconv_open, _SDL_iconv_close , _SDL_iconv_string , _SDL_iconv )
  "_iconv_close", referenced from:
      _qr_code_data_list_extract_text in libzbar.a(libzbar_la-qrdectxt.o)
     (maybe you meant: _SDL_iconv_close)
  "_iconv_open", referenced from:
      _qr_code_data_list_extract_text in libzbar.a(libzbar_la-qrdectxt.o)
     (maybe you meant: _SDL_iconv_open)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Additional context
A Google search suggests "adding Accelerate"
Looking in the project.pbxproj file we see Accelerate exists in the same group as libkivy.a
However the "Accelerate" option does not appear to exist on Xcode 13 UI.
Speculation : Perhaps the library name has changed?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions