-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Fix AppCheck Catalyst build on Xcode 12.4 #8184
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
Conversation
Generated by 🚫 Danger |
Looks like the availability of
to
It also reflected in the docs. |
Keychain dependent logic require additional configuration on Catalyst (enabling Keychain sharing). Probably it will be easier just to disable the Keychain dependent tests for Catalyst. |
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.
Thank you for fixing it!
@@ -92,6 +92,7 @@ - (void)tearDown { | |||
|
|||
#pragma mark - Init tests | |||
|
|||
#if !TARGET_OS_MACCATALYST |
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.
nit: Could you please add a comment explaining why the tests are disabled.
@@ -15,7 +15,7 @@ | |||
*/ | |||
|
|||
// Currently DCAppAttestService is available on iOS only. | |||
#if TARGET_OS_IOS | |||
#if TARGET_OS_IOS && !TARGET_OS_MACCATALYST |
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.
Maybe not in this PR, but, I think we should allow using App Attest on macOS and Catalyst with Xcode 12.5+. We probably will need to introduce a separate flag like FIR_APP_ATTEST_SUPPORTED
where we will take into account the Xcode version, platform and OS version (if needed). Then this flag can be used instead of this condition.
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.
Adding support in the future sounds good to me. Agreed that it is beyond the scope of this PR that is focused on fixing CI to unblock other work.
Fix #8175
Fix AppCheck Catalyst build and add CI. This fixes a regression building the zip.
Interestingly, this failure does not repro on Xcode 12.5