Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xcodereleases/xcinfo
Install as many Xcodes at once as you can
https://github.com/xcodereleases/xcinfo
Last synced: 3 months ago
JSON representation
Install as many Xcodes at once as you can
- Host: GitHub
- URL: https://github.com/xcodereleases/xcinfo
- Owner: xcodereleases
- License: lgpl-3.0
- Created: 2019-09-30T14:28:06.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-11-01T08:37:17.000Z (about 1 year ago)
- Last Synced: 2024-07-05T13:46:02.798Z (4 months ago)
- Language: Swift
- Size: 1.98 MB
- Stars: 476
- Watchers: 7
- Forks: 18
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# xcinfo
With `xcinfo` you can access all information available at xcodereleases.com and install available Xcode versions from Apple's Developer Portal. It also finds and lists installed Xcode applications on hard drive and you can remove them safely.
![Screenhot of the install progress](https://github.com/xcodereleases/xcinfo/blob/master/Assets/install.png?raw=true)
```
USAGE: xcinfoOPTIONS:
--version Show the version.
-h, --help Show help information.SUBCOMMANDS:
info Xcode version info
list List all available Xcode versions
install Install an Xcode version
installed Show installed Xcode versions
uninstall Uninstall an Xcode version
cleanup Remove stored credentials
```## Requirements
- macOS 10.15 (Catalina)
- Swift 5.1## Installation
### Manually
```
$ git clone https://github.com/xcodereleases/xcinfo.git
$ cd xcinfo
$ make
$ sudo make install
```### Make
- Build a universal (`arm64` and `x86_64`) xcinfo: `make`
- Install xcinfo (default to `/usr/local/bin`): `sudo make install` or to other local: `sudo make install prefix=/opt/local`
- Clean build caches: `make clean`
- Cleanup all caches: `make cleanup`### Mint
```
$ mint install xcodereleases/xcinfo
```### homebrew
```
$ brew install xcinfo
```## Usage
### info (default)
- show detailed information about a version of Xcode### list
- list all available Xcode versions ever released by Apple### install
- download and install a version of Xcode### installed
- list Xcode versions installed in /Applications### uninstall
- removes an installed version of Xcode from /Applications### cleanup
- if something goes wrong this removes all entries stored in the keychain, all cookies, and user defaults## CI
- no-ansi flag to suppress colored output
- verbose flag## Screenshots
![Show info for a specific Xcode version](https://github.com/xcodereleases/xcinfo/blob/master/Assets/inf.png?raw=true)
![Installed and available Xcode versions](https://github.com/xcodereleases/xcinfo/blob/master/Assets/list.png?raw=true)
## TODO
- sudo support without storing user password in memory
- man page
- tests
- include default data (when github is offline)## Changelog
### Version 0.6.0
Adds:
- resuming of aborted downloads (Thanks @chippo)### Version 0.5.1
Fixes:
- version string### Version 0.5.0
Initial public release