SPM executableTarget is treated as a CLI tool by xcodebuild, producing
Products/usr/local/bin instead of a .app bundle. xcodegen generates a
proper application target with PRODUCT_TYPE=com.apple.product-type.application.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
xcodebuild build on an SPM executableTarget only outputs the module/bundle,
not a .app. archive produces a .xcarchive with the .app under Products/.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Package IPA: use find to locate .app regardless of archive subpath
- Publish: fail fast with clear message if GITEA_TOKEN is not set
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
git push over HTTPS was failing auth despite correct credentials.
Use PUT /contents API instead — same token already works for releases.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>