Xcode iOS Simulator crashes when creating a simple array

Everytime I create a new array in the ContentView struct, the iOS simulator crashes sometimes, is there any fixes for this?

Xcode iOS Simulator crashes when creating a simple array
 
 
Q