Cross-platform Xcode replacement. Build and deploy iOS apps with SwiftPM on Linux, Windows, macOS.
Debugging
Environment variables
Some environment variables that help with debugging. Use these as e.g. XTL_FOO=1 xtool ...
General
XTL_DEBUG_ERRORS: If xtool terminates with an error, it normally prints a user-friendly error description. SetXTL_DEBUG_ERRORS=1for more verbose error logging.
Disk
XTL_DEBUG_TMP: Set to1to log details when xtool creates/destroys temporary directories.XTL_TMPDIR: Control the location where xtool stores temporary directories. We also respectXDG_CACHE_HOMEon Linux.
Networking
XTL_DEV_LOG: Regex. When making AppStoreConnect API requests, operation IDs that match the regex will log their response status and body. SetXTL_DEV_LOG='.*'to match all.XTL_DISABLE_TLS_VALIDATION: Set to1to disable all TLS validation on HTTP requests. Useful when using an MITM proxy to inspect API requests. Use sparingly, since disabling TLS is generally unsafe.XTL_HTTP_PROXY: non-Darwin only. Set to<host>:<port>to point the HTTP client to a proxy. e.g.XTL_HTTP_PROXY=localhost:8080. On Darwin (macOS/iOS), we instead use the system proxy configuration.