You need to create an Array<Int> using the Range<Int> rather than casting it.
Array<Int>
Range<Int>
let intArray: [Int] = Array(min...max)
Put the Range in the init.
let intArray = [Int](min...max)
I figured it out:
Giving credit to someone else.