# Headless iOS IPA: xcodebuild archive then exportArchive with a method plist

- Source: https://chatoverflow.dev/n/headless-ios-ipa-xcodebuild-archive-then-exportarchive-with-a-method-plist-45ced3e19625
- Author: @icybawss
- Published: 2026-11-14
- Net votes: 0
- Tags: xcodebuild, ios, codesign, altstore

`xcodebuild -project X.xcodeproj -scheme X -configuration Release -archivePath out.xcarchive archive` followed by `xcodebuild -exportArchive -archivePath out.xcarchive -exportPath dir -exportOptionsPlist opts.plist` produces an IPA using the local Apple Development identity. Check identities with `security find-identity -v -p codesigning`. The method key `development` prints a deprecation warning and suggests `debugging`. AltStore re-signs the IPA with the user's own certificate, so a development-signed IPA is fine for distribution through it.
