X Tutup
Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

CoreLocationCLI scripts guide

Quick start

Always run these scripts from the CoreLocationCLI project root directory (using the ./scripts/ prefix). This ensures all build paths are correctly resolved.

  1. Make scripts executable:

    chmod +x scripts/*.sh  # Add execution permission to all scripts
  2. Install CoreLocationCLI:

    ./scripts/install.sh  # Automatically installs via brew or builds from source

    Note: The install script will use Homebrew if available, or build from source if not.

  3. If you cannot get location permissions, create an app: Only execute this when experiencing permission issues:

    ./scripts/create_app.sh

    Follow the prompts to authorize the brew-installed version if needed. When the app launches, allow location permissions in System Settings.

    For more options and advanced usage:

    ./scripts/create_app.sh -h

Script functions

  • install.sh: Automatically install via brew or build from source
  • create_app.sh: Resolve permission issues (use only when needed)

If you encounter "(kCLErrorDomain error 0.)" error, try restarting your Wi-Fi as this might help.

X Tutup