Closed GoogleCodeExporter closed 9 years ago
Thanks. I updated the server with a new version it should be working now.
Original comment by shai.almog
on 7 May 2012 at 11:31
Hi Shai,
I tried again after re-buidling the app. However it still crashes when I try to
clear data using clearStorage(). Here's the debug output:
2012-05-07 17:31:55.848 S2PayApp[77851:1d503] -[NSFileManager
contentsOfDirectoryAtPath:]: unrecognized selector sent to instance 0xb4ba0b0
2012-05-07 17:31:55.850 S2PayApp[77851:1d503] *** Terminating app due to
uncaught exception 'NSInvalidArgumentException', reason: '-[NSFileManager
contentsOfDirectoryAtPath:]: unrecognized selector sent to instance 0xb4ba0b0'
*** First throw call stack:
(0x4241022 0x43d2cd6 0x4242cbd 0x41a7ed0 0x41a7cb2 0x10f53ff 0x6526ae 0x55e6b6
0x6ae8d5 0x378d01 0x377dc3 0xf01738 0xa1f140 0xf8bcbe 0xf8a95f 0xc3b1fd
0xc4102b 0xc410d2 0xa0b25a 0x69b0eb 0x903947 0x8f5b71 0x8f4006 0x457ffc
0x8d6ed9 0x10ea8ee 0x1129249 0x11251ea 0x1128d39 0x909c8ed9 0x909cc6de)
terminate called throwing an exception
Thanks,
Nirmal
Original comment by nir...@nvsoft.com
on 7 May 2012 at 12:05
Did you download the sources?
I've changed the method call signature to [fm contentsOfDirectoryAtPath:ns
error:nil];
If it doesn't include the error argument that might be the problem. I just
updated the server again and verified that this argument made it into the build
distribution.
Original comment by shai.almog
on 7 May 2012 at 12:20
Yes, I downloaded the sources. The source file contains this:
NSArray* nsArr = [fm contentsOfDirectoryAtPath:ns];
So let me re-try one more time and see what the source contains.
Original comment by nir...@nvsoft.com
on 7 May 2012 at 12:30
Thanks Shai, it works now.
Original comment by nir...@nvsoft.com
on 7 May 2012 at 1:22
Original issue reported on code.google.com by
nir...@nvsoft.com
on 7 May 2012 at 8:45