arc4random_uniform在OSX 10.10.4上的Xcode 7.0 beta(7a176x)中不可用 [英] arc4random_uniform not available in Xcode 7.0 beta (7a176x) on OSX 10.10.4
问题描述
我正在尝试在提到的Xcode版本中使用 arc4random_uniform
,但它似乎不再可用:
I'm trying to use arc4random_uniform
in the Xcode build mentioned, but it seems to no longer be available:
单击可用函数的alt按钮显示它们已在stdlib.h中声明,将它们列出如下:
An alt-click on the available functions show that they're declared in stdlib.h, which has them listed as follows:
< img src =https://i.stack.imgur.com/hhDl2.pngalt =stdlib.h显示arc4random_uniform defined>
它不再可用似乎很奇怪。这个特定的stdlib.h位于iOS $ 9.0模拟器目录中 usr / include / 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.
我安装了最新的命令行工具。不确定发生了什么。任何建议/帮助/修复都非常感谢。在此先感谢。
I have the latest command line tools installed. Not sure what's going on. Any advice / help / fixes are much appreciated. Thanks in advance.
更新
似乎是一个Xcode错误,参考适用于:
Seems to be an Xcode bug, references for which are:
- 22275032
- 22275176
推荐答案
它似乎仍然可用(我一直在7A176x中使用它,但在El Capitan上),它只是没有显示在建议。
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.
这篇关于arc4random_uniform在OSX 10.10.4上的Xcode 7.0 beta(7a176x)中不可用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!