Yes, apparently Xcode 12.5 are using Clang 10 that require you to cast it to idNSCopying
Example: https://github.com/facebook/FBRetainCycleDetector/pull/95/files
And if you are using Cocoapods, FBRetainCycleDetector makes that error, you need to specify the commit hash to make sure it using the latest version
ruby
pod 'FBRetainCycleDetector', { :git = 'https://github.com/facebook/FBRetainCycleDetector.git', :commit = '32c4afc1' }
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: