zijie0/AMParser

Not supporting xcode 6.4

Opened this issue · 2 comments

Having a exception while "Deserializing the data and dump its content"

Exception line:
XRActivityInstrumentRun *run = [NSUnarchiver unarchiveObjectWithData:traceData];

Exception message:

2015-12-08 16:46:19.867 AMParser[2064:64238] *** Terminating app due to uncaught exception 'NSArchiverArchiveInconsistency', reason: '*** NSUnarchiver: inconsistency between written and read data for object 0x1006041b0'
*** First throw call stack:
(
    0   CoreFoundation                      0x00007fff8dc2903c __exceptionPreprocess + 172
    1   libobjc.A.dylib                     0x00007fff8d75876e objc_exception_throw + 43
    2   CoreFoundation                      0x00007fff8dc28eed +[NSException raise:format:] + 205
    3   Foundation                          0x00007fff833f2499 _decodeObject_old + 680
    4   Foundation                          0x00007fff833f6fb6 +[NSUnarchiver unarchiveObjectWithData:] + 64
    5   AMParser                            0x00000001000022fb main + 1339
    6   libdyld.dylib                       0x00007fff8d2795c9 start + 1
    7   ???                                 0x0000000000000001 0x0 + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb) 

I am also struck at exactly the same line, with the following exception. I'm using Xcode 7.2.1

2016-08-17 11:52:35.725 AMParser[18924:245491] *** NSUnarchiver: inconsistency between written and read data for object 0x10030d5f0

Is this because of the change in the ActivityMonitor template??
Any Help will be highly appreciated. Thanks in advance.

@warapitiya Have you found a solution to this??? Can you help?
@zijie0 Can you pls help on this?

Hi,

Even I am facing the same issue , has anyone found a fix for this ?