{"action":"created","issue":{"url":"https://api.github.com/repos/fastlane/fastlane/issues/9806","repository_url":"https://api.github.com/repos/fastlane/fastlane","labels_url":"https://api.github.com/repos/fastlane/fastlane/issues/9806/labels{/name}","comments_url":"https://api.github.com/repos/fastlane/fastlane/issues/9806/comments","events_url":"https://api.github.com/repos/fastlane/fastlane/issues/9806/events","html_url":"https://github.com/fastlane/fastlane/issues/9806","id":244133746,"number":9806,"title":"Code Signing - Push Notifications ERROR ","user":{"login":"sergiulucaci","id":16645155,"avatar_url":"https://avatars0.githubusercontent.com/u/16645155?v=4","gravatar_id":"","url":"https://api.github.com/users/sergiulucaci","html_url":"https://github.com/sergiulucaci","followers_url":"https://api.github.com/users/sergiulucaci/followers","following_url":"https://api.github.com/users/sergiulucaci/following{/other_user}","gists_url":"https://api.github.com/users/sergiulucaci/gists{/gist_id}","starred_url":"https://api.github.com/users/sergiulucaci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sergiulucaci/subscriptions","organizations_url":"https://api.github.com/users/sergiulucaci/orgs","repos_url":"https://api.github.com/users/sergiulucaci/repos","events_url":"https://api.github.com/users/sergiulucaci/events{/privacy}","received_events_url":"https://api.github.com/users/sergiulucaci/received_events","type":"User","site_admin":false},"labels":[{"id":394836387,"url":"https://api.github.com/repos/fastlane/fastlane/labels/status:%20auto-closed","name":"status: auto-closed","color":"ededed","default":false},{"id":389827016,"url":"https://api.github.com/repos/fastlane/fastlane/labels/status:%20waiting-for-reply","name":"status: waiting-for-reply","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-07-19T18:34:27Z","updated_at":"2017-10-04T16:42:19Z","closed_at":null,"author_association":"NONE","body":"Hei guys,\r\n\r\nI do have an application that uses `Push Notifications` service and crashes on `gym` step (**pay attention**) if I **don't simply open** that application in Xcode. This is the error I receive on `gym`:\r\n\r\n\r\n:x: Provisioning profile \"iOS Team Provisioning Profile: *\" doesn't support the Push Notifications capability.\r\n\r\n:x: Provisioning profile \"iOS Team Provisioning Profile: *\" doesn't include the aps-environment entitlement.\r\n\r\n:x: Code signing is required for product type 'Application' in SDK 'iOS 10.0'\r\n\r\n** ARCHIVE FAILED **\r\n\r\n\r\nIf I do open (just open, I'm not even building it) the created application into Xcode (after application is succesfully initialized into Xcode) the `gym` step would sucessfully fulfill.\r\n\r\nI'm searching a solution that would process the project somehow automatically without opening the application in Xcode, \r\n\r\nWhat I've tried to do:\r\n\r\n## A.\r\n\r\n```\r\n1. automatic_code_signing(use_automatic_signing: false, path: \"demo.xcodeproj\")\r\n2. gym(include_bitcode: false, clean: true)\r\n3. automatic_code_signing(use_automatic_signing: false, path: \"demo.xcodeproj\")\r\n```\r\n## B. \r\n\r\nOther `72398714918274` steps to get rid of that error. Ex: \r\n```\r\n# Fastfile\r\nlane :getRidOfThatStickyIssue do\r\n  produce(\r\n    # other options\r\n    enable_services: {\r\n      push_notification: \"on\"\r\n    }\t\r\n  )\r\n\r\n  sigh\r\n  \r\n  cert\r\n  \r\n  automatic_code_signing(\r\n    #set to true\r\n  )\r\n\r\n  gym(\r\n    # path, project, etc.\r\n  )\r\nend\r\n```\r\n  \r\nPs.: I have tried possible solutions from\r\n[link_1](https://github.com/fastlane/fastlane/issues/6533) \r\n[link_2](https://github.com/fastlane/fastlane/issues/6333)  \r\n[link_3](https://github.com/fastlane/fastlane/issues/6544#issuecomment-253858562)\r\n\r\nNo valid solution found. :(\r\n                                                                                                                                                                                                                                          Thanks in advance, guys!"},"comment":{"url":"https://api.github.com/repos/fastlane/fastlane/issues/comments/334216795","html_url":"https://github.com/fastlane/fastlane/issues/9806#issuecomment-334216795","issue_url":"https://api.github.com/repos/fastlane/fastlane/issues/9806","id":334216795,"user":{"login":"fastlane-bot","id":17056452,"avatar_url":"https://avatars0.githubusercontent.com/u/17056452?v=4","gravatar_id":"","url":"https://api.github.com/users/fastlane-bot","html_url":"https://github.com/fastlane-bot","followers_url":"https://api.github.com/users/fastlane-bot/followers","following_url":"https://api.github.com/users/fastlane-bot/following{/other_user}","gists_url":"https://api.github.com/users/fastlane-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/fastlane-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fastlane-bot/subscriptions","organizations_url":"https://api.github.com/users/fastlane-bot/orgs","repos_url":"https://api.github.com/users/fastlane-bot/repos","events_url":"https://api.github.com/users/fastlane-bot/events{/privacy}","received_events_url":"https://api.github.com/users/fastlane-bot/received_events","type":"User","site_admin":false},"created_at":"2017-10-04T16:42:19Z","updated_at":"2017-10-04T16:42:19Z","author_association":"NONE","body":"This issue will be auto-closed because there hasn't been any activity for a few months. Feel free to [open a new one](https://github.com/fastlane/fastlane/issues/new) if you still experience this problem :+1:"}}
{"actor":{"display_login":"fastlane-bot"}}