Apple SwiftUI Landmarks tutorial

Apple SwiftUI landmarks tutorial error:

Can someone who has gone through this tutorial help me figure out why when adding the hike view folders from the project resources and its hike JSON data files, does the project appear to start crashing the previews on the canvas? I reverted back to where things were working by removing the project files I was directed to add and now the previews work again.