{"action":"closed","issue":{"url":"https://api.github.com/repos/electron-userland/electron-builder/issues/1795","repository_url":"https://api.github.com/repos/electron-userland/electron-builder","labels_url":"https://api.github.com/repos/electron-userland/electron-builder/issues/1795/labels{/name}","comments_url":"https://api.github.com/repos/electron-userland/electron-builder/issues/1795/comments","events_url":"https://api.github.com/repos/electron-userland/electron-builder/issues/1795/events","html_url":"https://github.com/electron-userland/electron-builder/issues/1795","id":240829895,"number":1795,"title":"LSOpenURLsWithRole() failed with error -10810 on mas-dev","user":{"login":"jviotti","id":2192773,"avatar_url":"https://avatars3.githubusercontent.com/u/2192773?v=3","gravatar_id":"","url":"https://api.github.com/users/jviotti","html_url":"https://github.com/jviotti","followers_url":"https://api.github.com/users/jviotti/followers","following_url":"https://api.github.com/users/jviotti/following{/other_user}","gists_url":"https://api.github.com/users/jviotti/gists{/gist_id}","starred_url":"https://api.github.com/users/jviotti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jviotti/subscriptions","organizations_url":"https://api.github.com/users/jviotti/orgs","repos_url":"https://api.github.com/users/jviotti/repos","events_url":"https://api.github.com/users/jviotti/events{/privacy}","received_events_url":"https://api.github.com/users/jviotti/received_events","type":"User","site_admin":false},"labels":[{"id":373647727,"url":"https://api.github.com/repos/electron-userland/electron-builder/labels/backlog","name":"backlog","color":"d93f0b","default":false},{"id":214243370,"url":"https://api.github.com/repos/electron-userland/electron-builder/labels/help%20wanted","name":"help wanted","color":"159818","default":true},{"id":309000662,"url":"https://api.github.com/repos/electron-userland/electron-builder/labels/mac","name":"mac","color":"009800","default":false},{"id":214243372,"url":"https://api.github.com/repos/electron-userland/electron-builder/labels/question","name":"question","color":"cc317c","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2017-07-06T02:50:10Z","updated_at":"2017-07-12T12:22:30Z","closed_at":"2017-07-12T12:22:30Z","body":"<!-- Which version of electron-builder are you using? -->\r\n<!-- Please always try to use latest version before report. -->\r\n* **Version**: 19.13.0\r\n\r\n<!-- Which version of electron-updater are you using (if applicable)? -->\r\n\r\n<!-- What target are you building for? -->\r\n* **Target**: mas-dev\r\n\r\n<!-- Enter your issue details below this comment. -->\r\n<!-- If you want, you can donate to increase issue priority (https://donorbox.org/electron-builder) -->\r\n\r\nI'm experimenting with the MAS targets, but getting some issues I don't really understand. I'm building the `mas-dev` target for a dummy digital clock app I've been using for testing purposes:  https://github.com/jviotti/digital-clock.\r\n\r\nThe build seems to go without any errors:\r\n\r\n```sh\r\n$ CSC_NAME=\"Juan Cruz Viotti (6AZR5XBJ4X)\" npm run dist\r\n\r\n> digital-clock@1.1.0 dist /Users/jviotti/Projects/personal/digital-clock\r\n> build\r\n\r\nelectron-builder 19.13.0\r\nNo native production dependencies\r\nPackaging for mas x64 using electron 1.6.6 to dist/mas-dev\r\nSigning app (identity: 228D4C001B71A1B85C3FA629A500BD422740F0C9 Mac Developer: Juan Cruz Viotti (6AZR5XBJ4X))\r\n```\r\n\r\nHowever, this is what I get when I run the app:\r\n\r\n```\r\n$ open dist/mas-dev/Digital\\ Clock.app\r\nLSOpenURLsWithRole() failed with error -10810 for the file /Users/jviotti/Projects/personal/digital-clock/dist/mas-dev/Digital Clock.app.\r\n```\r\n\r\nI found https://github.com/electron-userland/electron-builder/issues/1180, but it doesn't seem related to my issue (I'm not adding `root` to the mix anywhere).\r\n\r\nSteps to reproduce:\r\n\r\n```sh\r\ngit clone https://github.com/jviotti/digital-clock\r\ncd digital-clock\r\ngit checkout mas\r\nnpm install\r\nnpm run dist\r\nopen dist/mas-dev/Digital\\ Clock.app\r\n```\r\n\r\nWhat am I missing?\r\n\r\n***\r\n\r\nI tried adding a custom entitlements file that disables the app sandbox:\r\n\r\n```xml\r\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\r\n<plist version=\"1.0\">\r\n  <dict>\r\n    <key>com.apple.security.app-sandbox</key>\r\n    <false/>\r\n  </dict>\r\n</plist>\r\n```\r\n\r\nWhich gets rid of the original error, and the app icon appears in the dock, but the app doesn't run at all.\r\n\r\n\r\n\r\n"}}
{"actor":{"display_login":"develar"}}