Although I canβt say it definitively, it seems to be a βproblemβ for sowing. Calling arc4random () several times in milliseconds from each other will have a very high bias towards certain numbers. acr4random_uniform seems to solve this problem - it seems to be seeded with a more "reliable" manner
source share