Challenges and Help - Running Spezi on MacOS Ventura #68
-
What Stanford Spezi module is your challenge related to?SpeziTemplateApplication DescriptionI 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. ReproductionCloned template application repo into XCode and built project: Expected behaviorTemplate Application to build on a simulated or physical device (iPhone with IOS 18 installed) Additional contextNo response Code of Conduct
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
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.
@pstell2002 It looks like you don't have an iOS 18-related simulator installed that is causing the issues with your run destinations. Can you try to ensure that
Last, but not least, can you ensure that you have cloned the latest version of the template application including all PRs that have been merged in the recent months?