Skip to main content

Building

How to build ipsw from source.

Requirements​

Install the Go binary​

brew install go

Build the ipsw binary​

git clone https://github.com/blacktop/ipsw.git
cd ipsw
make build
offline

To dev and build WITHOUT internet​

On internet connected machine with Go installed download all Golang lib dependencies

git clone https://github.com/blacktop/ipsw.git
cd ipsw
go mod vendor # this downloads all of the dependencies into the `vendor` folder

Now copy the project's directory to no-net machine

Add --mod=vendor to use the Go deps in the vendor folder

CGO_ENABLED=1 go build --mod=vendor ./cmd/ipsw