A generic utility to bundle and sign iOS binaries without using Xcode on macOS.
Vib is built using V, hence you need to install the V compiler to build it.
git clone https://github.com/vlang/v
cd v
make
sudo ./v symlink # Optional, adds V to your path so you can call `v` from anywhere.
Once V is installed, simply build Vib using v .
Bundle and sign a binary using vib <binary path>
. The config file should have the same name as the binary but with .vib
appended to the filename.
bundle_name=HelloWorld
bundle_id=app.vlang.helloworld
bundle_version=1
display_name=Hello World
team_id=APPLETEAMID
codesign_identity=Apple Development: Leah Lundqvist (IDENTITY_ID)
provisioning_profile=app_vlang_helloworld.mobileprovision
To enable automated provisioning and certificate creation, you need to create an API key on App Store Connect. Save the key file to ~/.vib
and create a file called config.vib
in the same directory containing
issuer_id=<App Store Connect Issuer ID>
key_id=<Key ID>
key_file=AuthKey_<Key ID>.p8
Codesign certificates are required to bundle using vib as it's also required to run an app on a physical device.
vib certificate
vib provision