Passing NSNumber* to NSString* expected-parameter does not cause compiler warning / error
问题 Any way to fix this? I changed my a signature of a function to pass NSString object instead of NSNumber object. Except I have some instances that still pass the old NSNumber object. It's hard to track down because the compiler doesn't display ANY errors or warnings for this. I tried deleting the DerivedData folder. Doesn't help. I also tried to do Analyze, that doesn't catch those problems either. I know I can do an NSAssert check to make sure that the incoming parameter type is proper, but