I'm getting a runtime error in my application:
2011-05-17 09:42:31.124 rxsync[67464:207] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSMutableURLRequest setHTTPBodyWithFormMultipartValues:fileNames:contentTypes:usingBoundary:]: unrecognized selector sent to instance 0x4e3cd90'
This method, NSMutableURLRequest setHTTPBodyWithFormMultipartValues: fileNames: contentTypes: usingBoundary:]
, is defined by a static library that's part of my .xcworkspace.
Here's what I've checked so far:
OTHER_LDFLAGS = -ObjC
) in my application. (In fact, I have it in my static library, too, since it's based on the same xcconfig file.)What possibilities am I missing?
I'm using Xcode 4.0.2. This is an iPhone target.
You additionally need to add -all_load to the Other Linker Flags of the target which is using your static library.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With