I create my program in "Debug X86-64" mode (Xcode 3.6) and everything works flawlessly. However, I just switched to Release X86-64 mode, and after compiling the following errors were received for each of my properties:
Synthesized property 'x' must either be named the same as a compatible ivar or must
explicitly name an ivar.
Where “x” is one of my properties, the first of which is “company” (I got 51 errors of this type). In my .h interface file, I listed the elements as follows:
@property (copy) NSString *company,
*address1,
*address2,
*city,
*usState,
*zip,
*phone,
*fax,
*email,
*web;
In my .M implementation file, I synthesized them like this:
@synthesize company,
address1,
address2,
city,
usState,
zip,
phone,
fax,
email,
web;
I realized that instance variables are automatically created for these properties ... in fact, they work just fine until I try to compile them in release mode.
, . - , , , "release"?
!