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

Run lsregister -f after I/O before running a MacCatalyst app #613

Merged
merged 1 commit into from
May 28, 2021

Conversation

lambdageek
Copy link
Member

Without this, launching the app fails (observed on arm64 locally, but
also on x64 on dotnet/runtime CI) with

The application cannot be opened for an unexpected reason, error=Error Domain=NSOSStatusErrorDomain Code=-10827 "kLSNoExecutableErr: The executable is missing" UserInfo={_LSLine=3691, _LSFunction=_LSOpenStuffCallLocal}

Fixes #611

Without this, launching the app fails (observed on arm64 locally, but
also on x64 on dotnet/runtime CI) with

```
The application cannot be opened for an unexpected reason, error=Error Domain=NSOSStatusErrorDomain Code=-10827 "kLSNoExecutableErr: The executable is missing" UserInfo={_LSLine=3691, _LSFunction=_LSOpenStuffCallLocal}
```

Fixes dotnet#611
@lambdageek
Copy link
Member Author

The lsregister suggestion comes from this stackoverflow answer

@lambdageek
Copy link
Member Author

/cc @steveisok @akoeplinger

@steveisok steveisok requested a review from premun May 28, 2021 10:19
@premun premun merged commit 6969531 into dotnet:main May 28, 2021
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.

Catalyst: open -W after I/O inside .app Contents is flaky
3 participants