-
Notifications
You must be signed in to change notification settings - Fork 712
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
Run tests on different OS versions #475
Conversation
d73e7f3
to
d00553c
Compare
@@ -31,14 +31,34 @@ | |||
|
|||
#include <mach/mach.h> | |||
#include <mach-o/arch.h> | |||
|
|||
#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 160000 // Xcode 14 |
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 #if __has_include(<mach-o/utils.h>)
here or this header may not have the necessary functions in older versions of the SDK?
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.
While effectively I indeed need to check for this file, I think it's better to just have this Xcode version check (where these functions were added)
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.
A follow up on try for running tests on different OS versions from #470