Xcode 6.2 does not report compile errors

Originator:svaidya
Number:rdar://20587432 Date Originated:04/17/2015
Status:Open Resolved:
Product:Developer Tools (Xcode) Product Version:6.2(6C131e)
Classification: Reproducible:Sometimes
 
Summary:
Some errors which should be caught at compile time are not reported till cleaning the Workspace. See the following example:

	MyObject *objectA = self.array[indexPath.row];
	MyOtherObject *objectB = objectA.propertyX.propertyY;

While refactoring the code, the property `propertyX` on `object` was removed. Xcode did not reveal an error on Line 2 above and I was able to build and run the application. 

Only after I cleaned the Workspace and fired a clean build were errors like these revealed although not all. I had to fix-clean-build again several times to reveal these errors.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!