Conversion to Automatic Reference Counting (ARC): 'Use of undeclared identifier' errors
问题 In one of the very big projects I used auto-synthesized properties everywhere: //MyClass.h file: @interface MyClass : NSObject @property (nonatomic, retain) NSString *deviceName; @property (nonatomic, retain) NSString *deviceID; @end //MyClass.m file: #import "MyClass.h" @implementation ApplicationStatus // no @synthesize used at all. -(void)dealloc{ [_deviceName release]; // gives errors only while converting to ARC with LLVM 5.0 [_deviceID release]; [super dealloc]; } @end The code above