Skip to content

Conversation

@Sn0wfreezeDev
Copy link

Hi,
your scripts and the Xcode project where quite helpful in building for all Apple OSes.
As the current scripts and Libarchive build are outdated I updated those files and created a build script that creates a fat binary for iOS and macOS.

Kind regards
Alexander Heinrich

@zyphs21
Copy link

zyphs21 commented Sep 3, 2021

@Sn0wfreezeDev Hello, Thanks for your work. I use your branch but encounter "Undefined symbols" problem. Any idea to solve this ?

Undefined symbols for architecture arm64:
  "___archive_ppmd8_functions", referenced from:
      _archive_read_format_zip_cleanup in libarchive-ios.a(archive_read_support_format_zip.o)
      _zip_read_data_zipx_ppmd in libarchive-ios.a(archive_read_support_format_zip.o)
      _zipx_ppmd8_init in libarchive-ios.a(archive_read_support_format_zip.o)
  "_BZ2_bzDecompress", referenced from:
      _bzip2_filter_read in libarchive-ios.a(archive_read_support_filter_bzip2.o)
      _decompress in libarchive-ios.a(archive_read_support_format_7zip.o)
      _zip_read_data_zipx_bzip2 in libarchive-ios.a(archive_read_support_format_zip.o)
  "_BZ2_bzDecompressEnd", referenced from:
      _bzip2_filter_read in libarchive-ios.a(archive_read_support_filter_bzip2.o)
      _bzip2_filter_close in libarchive-ios.a(archive_read_support_filter_bzip2.o)
      _decompress in libarchive-ios.a(archive_read_support_format_7zip.o)
      _init_decompression in libarchive-ios.a(archive_read_support_format_7zip.o)
      _free_decompression in libarchive-ios.a(archive_read_support_format_7zip.o)
      _archive_read_format_zip_cleanup in libarchive-ios.a(archive_read_support_format_zip.o)
      _zip_read_data_zipx_bzip2 in libarchive-ios.a(archive_read_support_format_zip.o)
      ...
  "_BZ2_bzDecompressInit", referenced from:
      _bzip2_filter_read in libarchive-ios.a(archive_read_support_filter_bzip2.o)
      _init_decompression in libarchive-ios.a(archive_read_support_format_7zip.o)
      _zipx_bzip2_init in libarchive-ios.a(archive_read_support_format_zip.o)
  "_archive_read_support_format_rar5", referenced from:
      _archive_read_support_format_all in libarchive-ios.a(archive_read_support_format_all.o)
  "_archive_read_support_filter_zstd", referenced from:
      _archive_read_support_filter_all in libarchive-ios.a(archive_read_support_filter_all.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants