📄 Update README

This commit is contained in:
Chris Araman 2021-05-03 10:14:00 -07:00 committed by GitHub
parent 9277a8b7cc
commit 3df24f698d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -41,21 +41,22 @@ To install mas from our tap:
brew install mas-cli/tap/mas brew install mas-cli/tap/mas
``` ```
#### Known Installation Issues On macOS Before 10.14.4 #### Swift 5 Runtime Support
Starting with [mas 1.7.0](https://github.com/mas-cli/mas/releases/tag/v1.7.0), if you get mas requires Swift 5 runtime support. macOS 10.14.4 and later include it, but earlier releases did not.
an error similar to `dyld: Symbol not found: _$s11SubSequenceSlTl` when running mas, Without it, running `mas` may report an error similar to
you'll need to install the [Swift 5 Runtime Support for Command Line Tools](https://support.apple.com/kb/DL1998). ```
dyld: Symbol not found: _$s11SubSequenceSlTl
```
Alternatively, you can: To get Swift 5 support, you have a few options:
- Install the [Swift 5 Runtime Support for Command Line Tools](https://support.apple.com/kb/DL1998).
- Update to macOS 10.14.4 or later - Update to macOS 10.14.4 or later.
- Install Xcode 10.2 or later at `/Applications/Xcode.app` - Install Xcode 10.2 or later to `/Applications/Xcode.app`.
- Rebuild mas from source using Xcode 11.4 or later
### 🐙 GitHub Releases ### 🐙 GitHub Releases
Alternatively, binaries are available in the [GitHub Releases](https://github.com/mas-cli/mas/releases) Alternatively, binaries are available in the [GitHub Releases](https://github.com/mas-cli/mas/releases).
## 🤳🏻 Usage ## 🤳🏻 Usage
@ -120,7 +121,7 @@ $ mas outdated
``` ```
> `mas` is only able to install/update applications that are listed in the Mac App Store itself. > `mas` is only able to install/update applications that are listed in the Mac App Store itself.
Use [`softwareupdate(8)`] utility for downloading system updates (like iTunes, Xcode Command Line Tools, etc) Use [`softwareupdate(8)`] utility for downloading system updates (e.g. Xcode Command Line Tools)
To install all pending updates run `mas upgrade`. To install all pending updates run `mas upgrade`.
@ -208,6 +209,7 @@ reattach-to-user-namespace mas install
You can build from Xcode by opening the root `mas` directory, or from the Terminal: You can build from Xcode by opening the root `mas` directory, or from the Terminal:
```bash ```bash
script/bootstrap
script/build script/build
``` ```
@ -220,6 +222,10 @@ Since Xcode does not officially support tests for command-line tool targets,
all logic is part of the MasKit target with tests in MasKitTests. all logic is part of the MasKit target with tests in MasKitTests.
Tests are written using [Quick]. Tests are written using [Quick].
```bash
script/test
```
## 📄 License ## 📄 License
mas-cli was created by [@argon](https://github.com/argon). mas-cli was created by [@argon](https://github.com/argon).