-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 Issues
section aboveTests
sectionQA steps
sectiontoggleReport
and notonIconClick
)src/languages/*
filesWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)/** comment above it */
this
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG
)Avatar
is modified, I verified thatAvatar
is 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 Issues
section aboveTests
sectionQA steps
sectiontoggleReport
and notonIconClick
).src/languages/*
filesWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
have been tested & I retested again)/** comment above it */
this
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)