[Solved] Disabling *No visible @interface* error for unit test target


Instead of turning them off why not just redeclare it? If you turn the warnings off completely then you lose the fact that the compiler will give you warnings in genuine places.

So just declare it above the unit test

@interface NSDate (UnitTests)

// your method sig

@end

@implementation YourUnitTest

//...

3

solved Disabling *No visible @interface* error for unit test target