diff --git a/.github/workflows/dry-build.yml b/.github/workflows/dry-build.yml
index 14fc95b8..d0ba8f0e 100644
--- a/.github/workflows/dry-build.yml
+++ b/.github/workflows/dry-build.yml
@@ -21,7 +21,9 @@ jobs:
           go-version: '1.19.3'
           cache: true
       - run: ./tools/version.sh
-      - run: go build -o ipatool-${{ matrix.os }}
+      - run: go build -o ipatool-${{ matrix.os }}-${{ matrix.arch }}
         env:
           GOOS: ${{ matrix.os }}
-          GOARCH: ${{ matrix.arch }}
\ No newline at end of file
+          GOARCH: ${{ matrix.arch }}
+          CGO_CFLAGS: -mmacosx-version-min=10.15
+          CGO_LDFLAGS: -mmacosx-version-min=10.15
\ No newline at end of file
diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml
index e6c6eb1e..3a353c19 100644
--- a/.github/workflows/integration-tests.yml
+++ b/.github/workflows/integration-tests.yml
@@ -23,6 +23,8 @@ jobs:
       - run: go build -o ipatool-${{ matrix.os }}
         env:
           GOOS: ${{ matrix.os }}
+          CGO_CFLAGS: -mmacosx-version-min=10.15
+          CGO_LDFLAGS: -mmacosx-version-min=10.15
       - uses: actions/upload-artifact@v2
         with:
           name: ipatool-${{ matrix.os }}
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 790f103d..7568c7ce 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -45,6 +45,8 @@ jobs:
         env:
           GOOS: ${{ matrix.os }}
           GOARCH: ${{ matrix.arch }}
+          CGO_CFLAGS: -mmacosx-version-min=10.15
+          CGO_LDFLAGS: -mmacosx-version-min=10.15
       - id: output
         run: echo ::set-output name=file::ipatool-${{ needs.get_version.outputs.version }}-${GOOS//darwin/macos}-$GOARCH
         env: