I have a block parameter to a continuation-passing-style ObjC method that looks like:
PyObjCBlock_GetSignature returns: "v@?@\"NSString\"" as the signature of the block. Eventually
PyObjCFFI_CountArguments barfs on the extra type information (\"NSString\") in this signature. I'm not sure if this extra metadata is the product of a new compiler or what, but I've been able to get past the problem locally by crudely filtering out quoted strings from signatures in
PyObjCMethodSignature_WithMetaData. Since this block signature retrieval is effectively dipping into undocumented runtime implementation details, I'm not sure there's necessarily any better approach.
FWIW, I'm on Yosemite 10.10 (14A389) with Xcode 6.1 (6A1052d) which uses clang-600.0.54.