{"action":"created","issue":{"url":"https://api.github.com/repos/electron/electron/issues/15140","repository_url":"https://api.github.com/repos/electron/electron","labels_url":"https://api.github.com/repos/electron/electron/issues/15140/labels{/name}","comments_url":"https://api.github.com/repos/electron/electron/issues/15140/comments","events_url":"https://api.github.com/repos/electron/electron/issues/15140/events","html_url":"https://github.com/electron/electron/issues/15140","id":369768808,"node_id":"MDU6SXNzdWUzNjk3Njg4MDg=","number":15140,"title":"inAppPurchase.getReceiptURL() should be filesystem path","user":{"login":"semireg","id":1819762,"node_id":"MDQ6VXNlcjE4MTk3NjI=","avatar_url":"https://avatars0.githubusercontent.com/u/1819762?v=4","gravatar_id":"","url":"https://api.github.com/users/semireg","html_url":"https://github.com/semireg","followers_url":"https://api.github.com/users/semireg/followers","following_url":"https://api.github.com/users/semireg/following{/other_user}","gists_url":"https://api.github.com/users/semireg/gists{/gist_id}","starred_url":"https://api.github.com/users/semireg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/semireg/subscriptions","organizations_url":"https://api.github.com/users/semireg/orgs","repos_url":"https://api.github.com/users/semireg/repos","events_url":"https://api.github.com/users/semireg/events{/privacy}","received_events_url":"https://api.github.com/users/semireg/received_events","type":"User","site_admin":false},"labels":[{"id":546663659,"node_id":"MDU6TGFiZWw1NDY2NjM2NTk=","url":"https://api.github.com/repos/electron/electron/labels/blocked/needs-repro","name":"blocked/needs-repro","color":"b60205","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-10-13T05:18:31Z","updated_at":"2018-10-15T01:59:25Z","closed_at":null,"author_association":"NONE","body":"* Output of `node_modules/.bin/electron --version`: v3.0.4\r\n* Operating System (Platform and Version): macOS 10.13.6\r\n\r\nMy current app is accepted by Apple and \"pending developer release.\" However, before I release it I wanted to add and test IAP (in app purchases).\r\n\r\n**Expected Behavior**\r\nrelease/mas-dev/MyApp.app, lacking a receipt, launches and exits immediately with code 173 that triggers login for MAS sandbox test user, receipt is generated, and app should re-launch OK.\r\n\r\n**Actual behavior**\r\nEverything related to the first-launch, exit 173, login with test account, and receipt generation works fine. It fails on relaunch with console.app reporting a kernel message: `load code signature error 4 for file \"MyApp Helper\"`.\r\n\r\n**To Reproduce**\r\nI do not have a good reproduction because of the complexity of entitlements, provisioning profiles, certificates, etc.\r\n\r\n**Screenshots**\r\nReceigen says that the app has a valid receipt.\r\n![2018-10-13 at 12 14 am](https://user-images.githubusercontent.com/1819762/46901641-f6ff6780-ce7c-11e8-95d0-a4549ca90d76.png)\r\n\r\nEntitlements look good, and the app is functioning fine in the sandbox...\r\n![2018-10-13 at 12 15 am](https://user-images.githubusercontent.com/1819762/46901651-1d250780-ce7d-11e8-9103-088e7276e99c.png)\r\n\r\n**Additional Information**\r\nThe only other file I see that looks like \"MyApp Helper\" is in MyApp.app/Contents/Frameworks/MyApp Helper.app. If I drag this into Receigen for analysis... it is signed, and has these entitlements. It doesn't have a receipt... which I wouldn't expect.\r\n\r\n![2018-10-13 at 12 17 am](https://user-images.githubusercontent.com/1819762/46901666-6412fd00-ce7d-11e8-8dc9-3cfc2acb8aeb.png)\r\n\r\nI don't think I need LoginItems or helpers... what do they do, exactly? Also, what are the EH/NP versions of these helpers?\r\n\r\nThanks!\r\n"},"comment":{"url":"https://api.github.com/repos/electron/electron/issues/comments/429685821","html_url":"https://github.com/electron/electron/issues/15140#issuecomment-429685821","issue_url":"https://api.github.com/repos/electron/electron/issues/15140","id":429685821,"node_id":"MDEyOklzc3VlQ29tbWVudDQyOTY4NTgyMQ==","user":{"login":"MarshallOfSound","id":6634592,"node_id":"MDQ6VXNlcjY2MzQ1OTI=","avatar_url":"https://avatars3.githubusercontent.com/u/6634592?v=4","gravatar_id":"","url":"https://api.github.com/users/MarshallOfSound","html_url":"https://github.com/MarshallOfSound","followers_url":"https://api.github.com/users/MarshallOfSound/followers","following_url":"https://api.github.com/users/MarshallOfSound/following{/other_user}","gists_url":"https://api.github.com/users/MarshallOfSound/gists{/gist_id}","starred_url":"https://api.github.com/users/MarshallOfSound/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarshallOfSound/subscriptions","organizations_url":"https://api.github.com/users/MarshallOfSound/orgs","repos_url":"https://api.github.com/users/MarshallOfSound/repos","events_url":"https://api.github.com/users/MarshallOfSound/events{/privacy}","received_events_url":"https://api.github.com/users/MarshallOfSound/received_events","type":"User","site_admin":false},"created_at":"2018-10-15T01:59:25Z","updated_at":"2018-10-15T01:59:25Z","author_association":"MEMBER","body":"@semireg PRs welcome if its just a change from `absoluteString` to `fileSystemPresentation` 👍 "}}
{"actor":{"display_login":"MarshallOfSound"}}