Post

Replies

Boosts

Views

Activity

Reply to Landmarks Tutorial. Preview doesn't work
The issue is in the landmarkData.json file, the problem comes from the tutorial page. If you see, landmarks[0] gets you imageName = turtlerock Now, if you go to Assets and see the name of the file it's named turtleRock, with capital R. If you go to the JSON file and change the naming to turtleRock your preview will work. For every other object on that JSON file, it works correctly
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Sep ’23
Reply to Xcode 14.3.1: The device “X iPhone” is not available because it is not executable
Download xCode 15 beta 6 since this version of xCode that you are using does not support your OS https://developer.apple.com/download/all/?q=xcode
Replies
Boosts
Views
Activity
Aug ’23
Reply to Landmarks Tutorial. Preview doesn't work
The issue is in the landmarkData.json file, the problem comes from the tutorial page. If you see, landmarks[0] gets you imageName = turtlerock Now, if you go to Assets and see the name of the file it's named turtleRock, with capital R. If you go to the JSON file and change the naming to turtleRock your preview will work. For every other object on that JSON file, it works correctly
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Sep ’23
Reply to Landmarks Tutorial. Preview doesn't work
My answer is below...
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Sep ’23