MusicKit on VisionOS

Hi, Is there any reasonable way to use MusicKit on the Vision Pro simulator. I have been unable to get anything working and I was wondering if the situation is the same as iOS etc where you need a physical device to test the app.

Post not yet marked as solved Up vote post of Superbro Down vote post of Superbro
593 views

Replies

+1

I'm working around this by making my music model code separate from the main app. That way I can target it to an iOS device and get it working. Then I can use that in my Vision Pro app but with mocked data. Very clunky.

So basically build to an interface and mock the data on the pro when testing, and using your none mock data when going to production. Check it actually works by using your iPhone or iPad.

I really wish there was a way to simulate this...