The public LSTracer.h header was referencing an internal header (crouton.h) that contains implementation details.
One of the side-effects was that the internal header has a method named count which has a different return type than the "standard" NSDictionarycount method - which can cause return type resolution issues when using ids.
The fix is to move the internal header references out of the public headers (and use a class extension for the internal uses).
Summary
The public
LSTracer.h
header was referencing an internal header (crouton.h
) that contains implementation details.One of the side-effects was that the internal header has a method named
count
which has a different return type than the "standard"NSDictionary
count
method - which can cause return type resolution issues when usingids
.The fix is to move the internal header references out of the public headers (and use a class extension for the internal uses).