Luke Tupper Consulting

Luke Tupper Consulting Blog

decodeRetainedObject error when using Distributed Objects (DO)

December28

Came across an interesting problem. Trying to get distributed objects to pass a common class between processes.

To avoid versioning issues I had the class in a shared location so that both client and server could use it.

On the server I was seeing a decodeRetainedObject: class ‘bleh’ not loaded error in the console log. Took a while to figure out, but XCode doesn’t automatically assign a class that are dragged and dropped into a project to the main target. The files simply needed to be assigned to the requisite target and everything works fine.

posted under Cocoa, MacOSX, XCode

Email will not be published

Website example

Your Comment: