I'm trying to use arc4random_uniform
in the Xcode build mentioned, but it seems to no longer be available:
我试图在提到的Xcode构建中使用arc4random_uniform,但它似乎不再可用:
An alt-click on the available functions show that they're declared in stdlib.h, which has them listed as follows:
对可用函数进行alt单击显示它们在stdlib.h中声明,它们列出如下:
It seems strange that its no longer available. This particular stdlib.h is within the iOS 9.0 simulator directory at usr/include/stdlib.h
not sure if that helps or not.
它不再可用似乎很奇怪。这个特定的stdlib.h位于usr / include / stdlib.h的iOS 9.0模拟器目录中,不确定是否有帮助。
I have the latest command line tools installed. Not sure what's going on. Any advice / help / fixes are much appreciated. Thanks in advance.
我安装了最新的命令行工具。不确定发生了什么。任何建议/帮助/修复都非常感谢。提前致谢。
UPDATE
Seems to be an Xcode bug, references for which are:
似乎是一个Xcode错误,其引用是:
- 22275032
- 22275176
1 个解决方案
#1
5
It seems to be still available (I have been using it in 7A176x, but on El Capitan), it is just not shown in the suggestions.
它似乎仍然可用(我一直在7A176x中使用它,但在El Capitan上),它只是没有在建议中显示。
#1
5
It seems to be still available (I have been using it in 7A176x, but on El Capitan), it is just not shown in the suggestions.
它似乎仍然可用(我一直在7A176x中使用它,但在El Capitan上),它只是没有在建议中显示。