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

Fix using lower Xcode version than minimum required by macOS: _LSOpenURLsWithCompletionHandler() failed for the application /Applications/Xcode.app with error -10664. #117

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

xiaobailong24
Copy link

Summary

When using lower Xcode version than minimum required by macOS, xcode-kotlin crashed as _LSOpenURLsWithCompletionHandler() failed for the application /Applications/Xcode.app with error -10664.

Fix

Fix XcodeHelper#openInBackground:

  1. realXcodePath: "${installation.path.value}/Contents/MacOS/Xcode".
  2. remove -a param of the open command.

Then usage:

./build/bin/macosArm64/debugExecutable/xcode-kotlin.kexe sync /Applications/Xcode.app

Pull Request Labels

  • has-reproduction
  • feature
  • blocking
  • good first review

…URLsWithCompletionHandler() failed for the application /Applications/Xcode.app with error -10664.
@samhill303 samhill303 requested a review from TadeasKriz January 14, 2025 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant