I'm getting exactly the same behaviour on the 67-object-mapping-2.0
branch too on an existing project that previously worked with RestKit.
I can see RKObjectMapping in the Symbol Navigator so I know XCode
knows how to navigate to the definition.
My project builds successfully and then when I go back to the class
that uses RKObjectMapping XCode 4 marks the lines with the following
errors:
error: Semantic Issue: Use of undeclared identifier 'RKObjectMapping';
did you mean 'RKObjectMapper'?
error: Semantic Issue: Use of undeclared identifier '[MY_OBJECT_NAME]'
error: Semantic Issue: Unknown receiver 'RKObjectMapping'; did you
mean 'RKObjectMapper'?
However, if I start again with a fresh project then RKObjectMapping
class works fine.
So I don't know what xcodeproj settings or what are lurking around on
my existing project causing these linking errors?
I'd rather not have to start afresh with a new XCode project but I'm
lacking the deeper XCode compiler/linker knowledge to know where to
start to look.
Cheers,
Jonathan