iOS Build a Simple iPhone App with Swift v5 Collections and Random Numbers Generating a Random Number

Why cant we use GKRandomSource class for generating random numbers using gamekit frame work?

import GameplayKit GKRandomSource.sharedRandom().nextInt())