Unity iOS compile error with clock_gettime()

0 like 0 dislike
86 views
I'm running Unity 5.2 and Xcode 7 and the Unity iOS plugin will not compile due to missing clock_gettime() function.

I think this was added in Xcode 8 or OSX Sierra but I'm not certain, the google results are not very helpful for this issue. It's mostly people trying to compile for OSX, not iOS.

So, I have 2 questions here:

1) Could we get support for older versions that don't have clock_gettime()? It does't seem hard to edit the iOS plugin source code to add support for it: https://stackoverflow.com/questions/5167269/clock-gettime-alternative-in-mac-os-x

2) Will upgrading to OSX Sierra / Xcode 8 solve this problem?
asked Oct 17, 2017 by taylor (120 points)

1 Answer

0 like 0 dislike
Hi,
Are you still having this issue?
If yes, which compilation unit is giving you this error?
answered Nov 6, 2017 by Raphael (10,140 points)
...