#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 110000 extern int SecRandomCopyBytes(SecRandomRef rnd, size_t count, void *bytes) __attribute__((weak_import)); #else extern int SecRandomCopyBytes(SecRandomRef rnd, size_t count, uint8_t *bytes) __attribute__((weak_import)); #endif
參考網址:
Conflicting types error in Xcode 9 #248
ios11 beta error #17
This method(SecRandomCopyBytes) is wrong in Xcode 9 Beta #244
沒有留言:
張貼留言