0

Recently I have updated my xcode to version 6.3. I am getting the following warning message.

Auto property synthesis will not synthesise property 'name'; It will be implemented by its superclass, use @dynamic to acknowledge intention.

Can someone please help me out on this?. Thanks in advance.

Sheik_101
  • 770
  • 1
  • 8
  • 24

2 Answers2

2

In your class hierarchy there are two different definitions of the property name. If both of them are the same type and used for the same purpose, just delete the one declared in the subclass or substitute it with @dynamic name; if needed to keep the compiler happy.

Antonio Favata
  • 1,891
  • 1
  • 15
  • 13
1

You can selectively ignore the warnings per file if the issue is in a third party lib, like in my case it's inside AFNetworking. So I disabled the warnings for all AF... files. By going to Build Phases then in Compiler Sources double clicking each file and adding a compiler flag -w -Xanalyzer -analyzer-disable-checker

user726522
  • 276
  • 2
  • 4