Challenges and Help - Running Spezi on MacOS Ventura #68
Replies: 2 comments
-
You need to select a different (i.e., non-build-only) run destination in Xcode. You can do this via the "SpeziTemplateApplication > Any iOS Device" menu in the top center of the Xcode window. Select either a Simulator (you might need to install one if none are present) or a physical iOS device if you have access to one running a supported iOS version. Regarding the package.resolved issues: try File → Packages → Reset Package Caches, and if that does not work, try deleting the SpeziTemplateApplication folder in |
Beta Was this translation helpful? Give feedback.
-
I have tried selecting a different run destination, but with the default settings this is what shows up, even when I try to run the project on my physical iPhone with IOS 18 installed, which should be a supported version. The device targets only show up when I downgrade the minimum deployment to IOS 17.2, but the build failes due to the package issues: For the package.resolved issue, I have tried File → Packages → Reset Package Caches, then deleting the SpeziTemplateApplication folder in$USER/Library/Developer/Xcode/DerivedData. I have also tried this solution: https://stackoverflow.com/questions/67185817/package-resolved-file-is-corrupted-or-malformed However, I still face the same issues: |
Beta Was this translation helpful? Give feedback.
-
What Stanford Spezi module is your challenge related to?
SpeziTemplateApplication
Description
I am trying to build the Spezi Template Application using my MacBook Pro 2017 and XCode version 15.2. I understand that this does not meet the software prerequisites and am facing the following error:
I have also tried downgrading the deployment target to IOS 17.0 but that resulted in failed builds with "Package.resolved file is corrupted or malformed" errors.
I am wondering if there is a way to work on the Spezi Template Application without getting a new device.
Reproduction
Cloned template application repo into XCode and built project:
https://github.com/StanfordBDHG/TemplateApplication/tree/main
Expected behavior
Template Application to build on a simulated or physical device (iPhone with IOS 18 installed)
Additional context
No response
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions