Open vladarefiev opened 5 years ago
@vladarefiev Hi! Please, post Deployment target and Base SDK versions.
@lolgear added to issue description.
@vladarefiev Weird. How do you compile this project? Please, also post commit hash.
@lolgear
I have just checked project out to clear directory, installed all deps.
Then I had You should run pod update CodePush to apply changes you've made.
After that my Podfile.lock has been changed.
- - CodePush (5.4.0):
+ - CodePush (5.4.1):
- - JWT (3.0.0-beta.8):
+ - JWT (3.0.0-beta.11):
Product -> Build -> Build failed
@vladarefiev Fixing problems in Apple ecosystem.
@vladarefiev Did you solve it by "Clean" action in Xcode or by removing DerivedData folder?
any update on this? It's happening to me too.
@fluiddot Hi! Could you attach example project and all necessary tools versions. ( Xcode, deployment target etc. )
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.
this API just active on iphone_11.3 or later.
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 ...
#endif` so that it actually compiles with older SDKs, .e.g
#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.