This is NOT new code. It has been compiled and executed successfully thousands of times BEFORE OS 10.7 Lion/LLVM/Clang.
@interface CapDuring : NSObject {
const char * iFileName;
...
}
@property(assign) const char * iFileName;
...
@property(readonly,getter=iFileName) const char * fileName;
!Property ‘fileName’ requires method ‘iFileName’ to be defined – use @synthesize, @dynamic or provide a method implementation
...
@end
@implementation CapDuring
@synthesize iFileName;
...
@end
This warning is repeated for every declaration like it (even if @dynamic is used).
I have got around this error by moving any properties which use getters that are also properties into a separate @interface MyClass ( myCompile ).
This same issue arrises when an OS property/method is renamed via a getter/setter.
I got around that by eliminating the renaming of OS methods.
Thank you for all of your suggestions.