Found the fix!
Choose your Target, select Build Phases.
Expand "Link Binary With Libraries", press the + button
Add your Framework (in this case, VisionKit)... and then choose 'Optional' in the status column.
Not quite sure why this fixes it, but it does.
Topic:
Programming Languages
SubTopic:
Swift
Tags: