I'm trying to use libtidy for an iPhone app (since the iPhone 2.2 SDK doesn't include NSXMLDocument which has tidy functionality) but I get a linker error saying "library not found for -ltidy" when I build the app.
As for other framework/library references, I've added the libtidy.dylib to my list of referenced frameworks and I've added the associated libtidy header files to the path listed in my Header Search Paths build setting. Xcode seems to automatically add the -ltidy linker option when I build the app yet it still complains that it can't find the associated libtidy.dylib file even though I can see it on the file system in the specified path and listed in the framework references.
Has anyone else had a similar problem when adding a reference to libtidy in Xcode? I'm using Xcode 3.1.2 with iPhone SDK 2.2.1.