I have created a static library and built it for both Release-Simulator and Release-iPhoneOS. I have one class file in the library that adds two functions to the NSString interface. The function is called __IsURL. When I link to the static library and build and run for iPhone simulator, everything works fine but when I build the project and run it for iPhone OS, I get the below error:
Code:
2009-11-27 10:20:29.906 MyDummy[620:207] *** -[NSCFString __IsURL]: unrecognized selector sent to instance 0xd0a8
2009-11-27 10:20:29.914 MyDummy[620:207] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSCFString __IsURL]: unrecognized selector sent to instance 0xd0a8'
Any idea what this is? Any help would be appreciated.