Hey guys, I made a custom Static Library that I use in my iPhone project. Everything works great except for when I use an NSKeyedUnarchiver to unarchive some data. It throws an exception when I try and use it in the library. I tried copying the classes of my static library into my project to see if that would work and it works fine but that defeats the purpose of a static library. I also tried lots of combinations of release/debug and simulator/device and still does not work. Is the NSKeyedUnarchiver having trouble finding the classes its trying to dearchive? Or does anyone know how to fix this? Do I maybe need to import stuff in the .m instead of the .h?
EDIT
Ok I tracked down the exception thrown and it says it is cant unarchive the class JGObjectRep which is one of the other classes in the static library. Keep in mind this works just fine if I copy these into the project.