iPhone Simulator chrashes in NSKeyedUnarchiver after setting base SDK
Posted
by Florian
on Stack Overflow
See other posts from Stack Overflow
or by Florian
Published on 2010-01-28T15:04:57Z
Indexed on
2010/03/14
20:55 UTC
Read the original article
Hit count: 502
Hi!
I started a project in xcode (3.2 on snow leopard) with base sdk 3.1.2. Now I changed this setting to 3.0 and it compiles without a warning. There are no problems running the app on the device, but the simulator crashes on launch every time with the following exception:
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '[NSKeyedUnarchiver initForReadingWithData:]: incomprehensible archive (0x4e, 0x49, 0x42, 0x41, 0x72, 0x63, 0x68, 0x69)'
I do not use the NSKeyedUnarchiver
, so why is the app trying to call it? And what archive is incomprehensible? I reset the simulator before building, so there are no userDefaults or anything else around.
Thanks for your help!
© Stack Overflow or respective owner