'Using Xcode for the first time - Unable to build w/o error
I just cloned this repo https://github.com/azamsharp/SwiftUIHealthKit to try and get familiar with Swift and Healthkit but I can't build the project. I'm not sure what direction to go in at the moment.
Im getting two errors
- Could not initialize core
- /Applications/Xcode.app/Contents/Developer/Platforms/AppleTVSimulator.platform:1:1: unknown platform 'appletvos' referenced as corresponding platform of 'appletvsimulator'
I tried removing the appletv simulator but there aren't any listed simulators/devices currently.
My Xcode version is 13.3.1.
Solution 1:[1]
Instructions:
Download the zip from GitHub. Unzip it. Open the folder SwiftUIHealthKit-master.
Double-click JustWalking.xcodeproj. Xcode opens. Elect to trust and open if needed.
Choose Product > Scheme > Just Walking (iOS).
Choose Product > Destination > [any simulator]. If you have no simulators, go to the Devices and Simulators window and make one first in the Simulators tab.
Choose Product > Run.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | matt |
