small medium large xlarge

07 Nov 2009, 02:58
Sean P. DeNigris (17 posts)


When I tried to build OpenGLLayer, I got the error: …/MyView.m:17:0 …/MyView.m:17: error: synthesized property ‘movingLayer’ must either be named the same as a compatible ivar or must explicitly name an ivar

07 Nov 2009, 13:08
Bill Dudney (917 posts)

Hi Sean,

Sorry, another difference between 10.5 and 10.6. If you remove the @synthesize statement in the MyView.m file it will compile, also make sure that the build settings are set to do i386 instead of ppc.

If you don’t mind could you file this as an errata so we make sure its fixed in the next printing.

You must be logged in to comment