-
Notifications
You must be signed in to change notification settings - Fork 104
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
Implicit declaration of function 'SecCopyErrorMessageString' is invalid in C99 #202
Comments
@vladarefiev |
@lolgear added to issue description. |
@vladarefiev |
@lolgear
Product -> Build -> Build failed |
@vladarefiev Xcode rules
MacOS rules
iPhone rules
|
@vladarefiev |
any update on this? |
@fluiddot |
So I ran into the same issue and I solved it by upgrading xcode to 9.4.1 (previously I had 9.2.x). I only figured this out because I had selected the 9.4.1 version of xcode to build in my appcenter settings, where the building was working perfectly fine, whereas on my local machine with an older version of xcode the build was failing for this exact same reason. |
Same error on Xcode 9.2 (I'm using an old Sierra Hackintosh, can't update it). I think it needs to be replaced this with a compile-time check with #if defined(__IPHONE_OS_VERSION_MAX_ALLOWED) && (__IPHONE_OS_VERSION_MAX_ALLOWED >= 110300)
NSString *message = (NSString *)CFBridgingRelease(SecCopyErrorMessageString(status, NULL)) ?: @"Unknown error message";
return [NSError errorWithDomain:NSOSStatusErrorDomain code:status userInfo:@{NSLocalizedDescriptionKey : message}];
#endif
return [NSError errorWithDomain:NSOSStatusErrorDomain code:status userInfo:nil]; BTW my SDK version is 11.2. |
Issue Info
Issue Description and Steps
Hi there,
I have a problems with building project.
Implicit declaration of function 'SecCopyErrorMessageString' is invalid in C99
in the JWTCryptoSecurity+ErrorHandling.m file.The text was updated successfully, but these errors were encountered: