LIFX / LIFXKit

The LIFX SDK for Objective-C.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

88 warnings when building on Xcode 6.3 for iOS 8.3

lightbow opened this issue · comments

Pods/LIFXKit/LIFXKit/Classes-Common/LXProtocolMessages.h:17:48: Auto property synthesis will not synthesize property 'payload'; it will be implemented by its superclass, use @dynamic to acknowledge intention

I had to go through my own code as well after upgrading, to fix a few cases of this issue. Basically, any time a subclass redeclares a property with a different type (a common pattern I used as well) you'll get a compiler warning now.

I've confirmed this issue. A lot of warnings when the library is built.

To remove the warnings, you need to go to LXProtocolMessages.m and add @dynamic payload; in the implementation of each of the classes.