Skip to content

Latest commit

 

History

History
46 lines (37 loc) · 1.25 KB

MANUAL-INSTALL.md

File metadata and controls

46 lines (37 loc) · 1.25 KB

Manual Build and Install

  • Install the virtual audio device Background Music Device.driver to /Library/Audio/Plug-Ins/HAL.

    sudo xcodebuild -project BGMDriver/BGMDriver.xcodeproj \
                    -target "Background Music Device" \
                    RUN_CLANG_STATIC_ANALYZER=0 \
                    DSTROOT="/" \
                    install
  • Install the XPC helper.

    sudo xcodebuild -project BGMApp/BGMApp.xcodeproj \
                    -target BGMXPCHelper \
                    RUN_CLANG_STATIC_ANALYZER=0 \
                    DSTROOT="/" \
                    INSTALL_PATH="$(BGMApp/BGMXPCHelper/safe_install_dir.sh)" \
                    install
  • Install Background Music.app to /Applications (or wherever).

    xcodebuild -project BGMApp/BGMApp.xcodeproj \
               -target "Background Music" \
               RUN_CLANG_STATIC_ANALYZER=0 \
               DSTROOT="/" \
               install
  • Restart coreaudiod:
    (Audio will stop working until the next step, so you might want to pause any running audio apps.)

    sudo launchctl kill -15 system/com.apple.audio.coreaudiod

    or, if that fails

    sudo killall coreaudiod
  • Run Background Music.app.