Mac Lovin'

View Original

NSPersistentDocument: *** Assertion failure in -[NSVBSavePanel viewWillInvalidate:]

If you get the following error when saving your new NSPersistentDocument:

See this content in the original post

This is due to the fact that, by default, Xcode only adds the "Read Only" permission to "User Selected File".

Change it your Target > Capabilities > App Sandbox settings and rebuild!