Spotify tracks aren't really suited to be directly sent between processes like this - they represent a track from the perspective of a logged-in user and contain a lot of state.
Instead, you should take the spotifyURL
of the track and transmit that. In your other process, use [SPTrack trackForTrackURL: …]
to recreate a valid SPTrack
instance.