{"action":"created","issue":{"url":"https://api.github.com/repos/fastlane/fastlane/issues/13288","repository_url":"https://api.github.com/repos/fastlane/fastlane","labels_url":"https://api.github.com/repos/fastlane/fastlane/issues/13288/labels{/name}","comments_url":"https://api.github.com/repos/fastlane/fastlane/issues/13288/comments","events_url":"https://api.github.com/repos/fastlane/fastlane/issues/13288/events","html_url":"https://github.com/fastlane/fastlane/issues/13288","id":357121439,"node_id":"MDU6SXNzdWUzNTcxMjE0Mzk=","number":13288,"title":"Sigh Resigning with Fastlane after changing the bundle ID ","user":{"login":"MirceaStroe","id":32709013,"node_id":"MDQ6VXNlcjMyNzA5MDEz","avatar_url":"https://avatars2.githubusercontent.com/u/32709013?v=4","gravatar_id":"","url":"https://api.github.com/users/MirceaStroe","html_url":"https://github.com/MirceaStroe","followers_url":"https://api.github.com/users/MirceaStroe/followers","following_url":"https://api.github.com/users/MirceaStroe/following{/other_user}","gists_url":"https://api.github.com/users/MirceaStroe/gists{/gist_id}","starred_url":"https://api.github.com/users/MirceaStroe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MirceaStroe/subscriptions","organizations_url":"https://api.github.com/users/MirceaStroe/orgs","repos_url":"https://api.github.com/users/MirceaStroe/repos","events_url":"https://api.github.com/users/MirceaStroe/events{/privacy}","received_events_url":"https://api.github.com/users/MirceaStroe/received_events","type":"User","site_admin":false},"labels":[{"id":389827016,"node_id":"MDU6TGFiZWwzODk4MjcwMTY=","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":4,"created_at":"2018-09-05T08:33:50Z","updated_at":"2018-10-14T17:31:58Z","closed_at":null,"author_association":"NONE","body":"<!-- Thanks for helping _fastlane_! Before you submit your issue, please make sure to check the following boxes by putting an x in the [ ] (don't: [x ], [ x], do: [x]) -->\r\n\r\n### New Issue Checklist\r\n\r\n- [x] Updated fastlane to the latest version\r\n- [x] I read the [Contribution Guidelines](https://github.com/fastlane/fastlane/blob/master/CONTRIBUTING.md)\r\n- [x] I read [docs.fastlane.tools](https://docs.fastlane.tools)\r\n- [x] I searched for [existing GitHub issues](https://github.com/fastlane/fastlane/issues)\r\n\r\n### Issue Description\r\nThe use case I'm trying to apply Fastlane to is as follows:\r\n\r\n1. Build a master (original) ipa with bundle ID 1 which is signed with a Distribution Provisioning Profile A\r\n\r\n2. The master ipa is processed by a Jenkins job that replaces various resources, customising the build for a specific app and performs a Fastlane resign with \"sigh resign\"\r\n<at this point everything works as expected, regardless of the ipa being resigned with the initial Code Signing Identity or a different one, the build can be pushed to Testflight / AppStore succesfully and it works as expected>\r\n\r\n3. The ipa generated at the previous step is unzipped and the team identifier associated with a Distribution Provisioning Profile B is manually updated in the Info & Entitlement.plist files. The initial bundle ID is also changed (the application_identifier in the Entitlement plist and the Bundle identifier in the Info plist). The ipa is packed up again and I manually resign it with Distribution Provisioning Profile B in the terminal (also with sigh resign). The resign is succesfull.\r\n\r\nNow I attempt to upload the ipa generated at step 3 via AppLoader and I get resign errors on all frameworks, type:\r\n\r\n\"Invalid Code Signing Identity. The executable Payload/App name/Framework/.. must be signed with certificate that is contained in the provisioning profile\"\r\n\r\nNote: Both distribution provisioning profiles A & B are created under the same developer account.\r\n\r\nThe question is if Fastlane is expected to work in this fairly complicated scenario. \r\n\r\nThanks!\r\n\r\n\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/fastlane/fastlane/issues/comments/429645410","html_url":"https://github.com/fastlane/fastlane/issues/13288#issuecomment-429645410","issue_url":"https://api.github.com/repos/fastlane/fastlane/issues/13288","id":429645410,"node_id":"MDEyOklzc3VlQ29tbWVudDQyOTY0NTQxMA==","user":{"login":"fastlane-bot","id":17056452,"node_id":"MDQ6VXNlcjE3MDU2NDUy","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":"2018-10-14T17:31:58Z","updated_at":"2018-10-14T17:31:58Z","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"}}