Cannot obtain the IXNMuseManager


#1

Hi Muse developers,

I have run into a problem. When I try and setup the Muse and obtain the IXNMuseManager using the following code:

self.manager = IXNMuseManager.sharedManager();

my application crashes and I recieve the following error;

[I]Terminating app due to uncaught exception ‘NSUnknownKeyException’, reason: ‘[<EAAccessory 0x14652590> valueForUndefinedKey:]: this class is not key value coding-compliant for the key isMuse.’[/I]

When I googled for the problem I found a lot of articles saying that the error is caused by incorrect linking of IBOutlets. This is not the case for me as I have a simple view that does not link to the property ‘isMuse’ which is stated in the error. Has anyone experienced this problem? Any ideas to solve this problem would be much appreciated.

Kind regards,

Alex


#2

Hey asydirkzwager,

Are you compiling your app with the -ObjC flag?


#3

Tom you are a lifesaver!!! That solved my problem.

Thanks,

Alex