Closed doc-iwatersports closed 10 years ago
Seems Xcode is having a problem resolving content
to the proper type. Might think it's of type id
and therefore think that -path
is a method from UIBezierPath
...
A simple cast might help: return [self initWithName:name fileContent:[(NSURL *)content path]];
and also be the cleanest solution considering the class check 1 line above.
That works, thanks.
I recieved the following on a new install of the development branch.
ProjectDir/Pods/NXOAuth2Client/Sources/OAuth2Client/NXOAuth2PostBodyPart.m:42:52: Incompatible pointer types sending 'CGPathRef' (aka 'const struct CGPath ') to parameter of type 'NSString ' Here is the code.
This:
will fix it, however, it may not be a problem as it shows up in a future version of XCode.