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

[macOS Sierra, nativescript@latest] LSOpenURLsWithRole() failed with error -10810 for the file Simulator.app #2993

Closed
ghost opened this issue Jul 21, 2017 · 2 comments

Comments

@ghost
Copy link

ghost commented Jul 21, 2017

Please, provide the details below:

$ npm run build-ios-bundle --for-device --release

Running tns prepare...
Executing before-prepare hook from /private/var/folders/9c/0c9x6mn563x5wk253cf5_0680000gq/T/test/hooks/before-prepare/nativescript-i18n.js
Preparing project...
Searching for devices...
LSOpenURLsWithRole() failed with error -10810 for the file /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app.

This is not an executable permission problem, I tried to chmod +x on the inner binary to no effect.

Did you verify this is a real problem by searching Stack Overflow and the other open issues in this repo?

Yes

Tell us about the problem

Recently upgraded to 3.x/@latest.

I can no longer build apps over SSH without having a desktop/GUI session open, otherwise I will get the error above. If I open a screen sharing session, then try to build over SSH separately, it works.

It only started happening within the last 3 or 4 days, first I thought it was a new security feature in the OS to prevent execution of binaries over SSH, but I remembered that I had updated to 3.x.

Interestingly, I am doing a release build so it shouldn't be trying to launch the simulator app, so either way there's a problem with tns.

Which platform(s) does your issue occur on?

iOS

Please provide the following version numbers that your issue occurs with:

  • CLI: 3.1.2
  • macOS: Sierra 10.12.3
@dtopuzov
Copy link
Contributor

dtopuzov commented Jul 24, 2017

Hi @vbresults

This looks strange:

/Applications/Xcode.app/Contents/Developer/Applications/Simulator.app

Simulator should not be involved when you build, we have such issue and we fixed it last week.

Can you please try with nativescript@next?
Can you also try to do the same without webpack (to isolate the problem)?

@ghost
Copy link
Author

ghost commented Jul 24, 2017

@dtopuzov Fixed by @next, but it still seems to be trying to select my development certificate when building adhoc or appstore builds.

@ghost ghost closed this as completed Jul 24, 2017
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant