This method is only available on newer versions.
The first available version (v2_6_3) is shown here.
to_s()
public
The message of the exception reports the content of podspec for the line
that generated the original exception.
@example Output
Invalidpodspecat `RestKit.podspec`-undefinedmethod
`exclude_header_search_paths=' for #<Pod::Specification for
`RestKit/Network (0.9.3)`>
from spec-repos/master/RestKit/0.9.3/RestKit.podspec:36
-------------------------------------------
# because it would break: #import <CoreData/CoreData.h>
> ns.exclude_header_search_paths = 'Code/RestKit.h'
end
-------------------------------------------