This package organizes macOS platform code within an Xcode project. It also relies on Node.js code to expose a command-line interface; the Node.js code is copied into place from a shared directory during publication time.
This project includes macOS platform-specific code as well as Node.js code. It bundles the application code along with the installation instructions in a NPM package. During local development, it can be useful to build the package locally (that is, without publishing it for use by others).
- macOS version 13 ("Ventura") or later
- Xcode
- Node.js version 18 or later
-
Build the Xcode project
- Select
Open Existing Project...from Xcode and navigate tosrc/MacOSATDriverServer/MacOSATDriverServer.xcodeprojin your local repository - With the project open, select
Product>Buildfrom the top-level menu
- Select
-
Execute the following command in a terminal:
$ npm pack
This project is distributed via the Node Package Repository.
- all of the packaging requirements listed above
- authentication to publish the package to the npm registry (once approved by
the project's maintainers, individuals can authenticate using the command
npm login)
-
Build the Xcode project
- Select
Open Existing Project...from Xcode and navigate tosrc/MacOSATDriverServer/MacOSATDriverServer.xcodeprojin your local repository - With the project open, select
Product>Buildfrom the top-level menu
- Select
-
Execute the following command in a terminal:
$ npm publish