Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSSet intersectsSet:]: set argument is not an NSSet'
iOS 18 crashing core data auto generated methods
I believe the same question was previously answered in the forums: https://developer.apple.com/forums/thread/40311?answerId=120335022#120335022
Hope this helps.