I\'m working with Swift in Ubuntu, and I am getting an error that arc4random is an unresolved identifier. More information on this known bug here. Basically, the function only e
You could try something like this?
#if os(Linux) random() #else arc4random_uniform() #endif