Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build and install error #742

Open
GrimalDev opened this issue May 29, 2024 · 1 comment
Open

build and install error #742

GrimalDev opened this issue May 29, 2024 · 1 comment
Labels

Comments

@GrimalDev
Copy link

Example bug report template

Description of the bug
Hello, I was initially trying to get the arc browser fix from 3 days ago. I tried to install the pre release from the brew cask versions put it has been emptied. So i tried building from the source but I am getting an error when launching the build and install script. When I try to build the project by hand, I get an error too.

Steps to reproduce
Execute the build and install script

Versions

  • Background Music: master branch after 0.4.3
  • macOS: macosx Version 14.4.1 (23E224)

Hardware
M1

Debug logs

build and intall error logs

Failure in build_and_install.sh at line 593. The last command was (probably)
awk '{ print $2 }'
which exited with status 141.
Error message: Internal script error. Probably a bug in this script.

Failure in build_and_install.sh at line 593. The last command was (probably)
XCODE_VERSION=$((${XCODEBUILD} -version 2>/dev/null || echo 'V -1') | head -n 1 | awk '{ print $2 }')
which exited with status 141.
Error message: Internal script error. Probably a bug in this script.

build by hand error

xcodebuild: error: 'BGMDriver/BGMDriver.xcodeproj' does not exist.

@GrimalDev GrimalDev added the bug label May 29, 2024
@kyleneideck
Copy link
Owner

It should write a build_and_install.log file to the same dir as build_and_install.sh. That might have some useful info. It should tell you what the value of $XCODEBUILD was if you search for "Using xcodebuild:".

What does xcodebuild -version print for you?

As a workaround, you could just hardcode the XCODE_VERSION variable in build_and_install.sh.

Or you could just build Background Music.app in Xcode. The Arc Browser change doesn't affect the other components. Open BGM.xcworkspace in Xcode, set the scheme to "Background Music", in the menu bar: Product > Archive.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants