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
This method(SecRandomCopyBytes) is wrong in Xcode 9 Beta #244
Comments
I meet the same thing. |
also seeing the same issue |
me too |
The iOS 11 SDK has changed the last parameter of its declaration of |
A workaround for this is to replace the line
with
or, if you need to support building with previous SDKs too, with
|
Could this be fixed? |
Nice! Rob is on it! PS: Nice talk at UIKonf once again! |
fixes build issue for iOS 11
Can anyone confirm that they're seeing this in the Swift version (this repository currently holds the Swift version, not the ObjC version; that got moved over to RNCryptor-objc). |
Note that this is resolved in the ObjC version; please let me know if anyone is having trouble in the Swift version (I don't think you should be). |
@rnapier I am using pod 'RNCryptor-objc', '~> 3.0' and still i am getting errro at I can see that pod version is 3.0.2 and which doent have below code . Thanks, |
The pod version should be 3.0.5: https://cocoapods.org/?q=rncryptor-obj Am I misreading something? (I don't use CocoaPods myself, so this doesn't come up in any of my projects.) |
extern int SecRandomCopyBytes(SecRandomRef rnd, size_t count, uint8_t *bytes) attribute((weak_import));
The text was updated successfully, but these errors were encountered: