cristicretu / swiftui-splitview-example

Inspired by Amie
40 stars 0 forks source link

Unable to build project #1

Closed alexrest closed 9 months ago

alexrest commented 9 months ago

This project looks so cool! Thanks for sharing!

Sorry, n00b here... When I open the project in Xcode, the Preview does not load (it says "Loading iOS 17.0..."

I'm also unable to build the project to a simulator ("A build only device cannot be used to run this target. Please select an available device or choose a simulated device as the destination."

I've built and run other projects on the same machine, so I'm not sure what I'm doing wrong. Any tips?

cristicretu commented 9 months ago
image

You have to select a target device for the simulator to run

alexrest commented 9 months ago

Thanks for the reply! I have it set to "Any iOS Simulator Device" which I've used for other iOS 17 projects.

Screenshot 2024-01-23 at 1 41 34 PM

Could it be because I'm on an Intel Mac?

cristicretu commented 9 months ago

Think you need to download additional simulators

alexrest commented 9 months ago

Oh! I changed the Minimum Deployment from 17.2 to 17.0 and now it builds :) thanks for your help!