It's easy:
- Grab
iOS-autotools
by @szanni from https://github.com/szanni/ios-autotools - Grab
libarchive 3
from http://www.libarchive.org/ cd
into thelibarchive
code directoryexport ARCHS="armv7 armv7s arm64"
(or suitable for your needs and your shell of choice)- Run
autoframework ArchiveLib libarchive.a
and wait for everything to build!