atbin is a universal binary packaging format used by the AT toolchain.
Swift binaries are composed of several components: an binary (such as
.a or executable), a
swiftmodule, and sometimes a clang module.
On Darwin platforms these components are often distributed inside a Framework. But Frameworks are awkward on Linux, and do not support some AT binary types, like executables.
atbin is a folder with extension
.atbin containing at least a
(package :name "example" :payload "example.dylib" :platforms ["ios-x86_64" "ios-i386"] :type "dynamic-library" )
.atbin will contain:
example.dylib, a fat dynamic library for the 2 platforms indicated
ios-i386.swiftmodule, if the module is a library
ios-i386.swiftdoc, if the module is a library and documentation is available
module.modulemap, if the module is a clang module, or overlays one.
You can build
.atbins by hand; just move the files into the right places and create your
You can also build
© 2016 Anarchy Tools and contributors.