[No QA] Specify developer team to sign generated projects#12084
[No QA] Specify developer team to sign generated projects#12084
Conversation
|
Put on HOLD because maybe a better fix is to just declare the developer team as Expensify, which is what I had been doing locally before finding this workaround. Not sure if it's important, but I assume there must be some reason why XCode changed the default to require signing for pods 🤷🏼 |
|
updated with what's probably a "real solution", not just a "workaround". |
|
It seems PullerBear is dead, so tagging in @Julesssss for review. We do not need a C+ review here. |
Julesssss
left a comment
There was a problem hiding this comment.
Confirmed that this PR removes the previously necessary step of manually selecting dev team targets
|
|
^ I did not test this on any platform other than iOS for obvious reasons, but I had to check the boxes for the CI check. |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
Going to CP this to test it out |
[No QA] Specify developer team to sign generated projects (cherry picked from commit 704b8b0)
…ing-12084 🍒 Cherry pick PR #12084 to staging 🍒
|
Now tracking here |
|
🚀 Cherry-picked to staging by @roryabraham in version: 1.2.18-8 🚀
|
|
🚀 Deployed to production by @chiragsalian in version: 1.2.18-10 🚀
|
|
🚀 Cherry-picked to staging by https://github.com/AndrewGable in version: 1.3.28-2 🚀
|
|
🚀 Deployed to production by https://github.com/AndrewGable in version: 1.3.28-5 🚀
|
Details
This PR upgraded our GitHub Actions to start using XCode 14. I have known for a few weeks that (locally, anyways), there is an issue with XCode 14 where you have to manually go and declare a developer team to sign some pod targets. The error looks like this:
Apparently this didn't used to be required, but the default changed between XCode 13 and 14. This PR
is a workaround to not require signing these Podsspecifies the Expensify developer team for each of these generated projects, allowing code signing to succeed. I verified locally that it solved the problem.I do still see this problem locally:
But only when building directly from XCode – if I use the command line it works, so I am suspecting that this is a problem with my local XCode configuration 🤷🏼
Fixed Issues
$ n/a – broken iOS deploys
Tests
Ran a build locally and verified that the problem is solved by the Podfile change.
QA Steps
None
PR Review Checklist
PR Author Checklist
### Fixed Issuessection aboveTestssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*filesWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)/** comment above it */thisproperly so there are no scoping issues (i.e. foronClick={this.submit}the methodthis.submitshould be bound tothisin the constructor)thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis never passed to a component event handler likeonClick)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)Avataris modified, I verified thatAvataris working as expected in all cases)PR Reviewer Checklist
The reviewer will copy/paste it into a new comment and complete it after the author checklist is completed
### Fixed Issuessection aboveTestssectionQA stepssectiontoggleReportand notonIconClick).src/languages/*filesWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarhave been tested & I retested again)/** comment above it */thisproperly so there are no scoping issues (i.e. foronClick={this.submit}the methodthis.submitshould be bound tothisin the constructor)thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis never passed to a component event handler likeonClick)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)Avataris modified, I verified thatAvataris working as expected in all cases)