Created
November 10, 2011 22:27
-
-
Save bored-engineer/1356465 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 2011-11-10 16:54:15.051 node[2145:707] -[NSKeyedUnarchiver count]: unrecognized selector sent to instance 0x7fe450499c60 | |
| node.js:201 | |
| throw e; // process.nextTick error, or 'error' event on first tick | |
| ^ | |
| NSInvalidArgumentException: -[NSKeyedUnarchiver count]: unrecognized selector sent to instance 0x7fe450499c60 | |
| at Function.msgSend (/Users/Luke/Projects/Archiver/node_modules/NodObjC/id.js:105:21) | |
| at id (/Users/Luke/Projects/Archiver/node_modules/NodObjC/id.js:70:15) | |
| at Object.<anonymous> (/Users/Luke/Projects/Archiver/test.js:9:46) | |
| at Module._compile (module.js:432:26) | |
| at Object..js (module.js:450:10) | |
| at Module.load (module.js:351:31) | |
| at Function._load (module.js:310:12) | |
| at Array.0 (module.js:470:10) | |
| at EventEmitter._tickCallback (node.js:192:40) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var $ = require("NodObjC"); | |
| $.import("Foundation"); | |
| var pool = $.NSAutoreleasePool('alloc')('init') | |
| var NSData = $.NSData("dataWithContentsOfFile",$(process.argv[2])) | |
| var NSKeyedUnarchiver = $.NSKeyedUnarchiver("alloc")("initForReadingWithData", NSData); | |
| var NSMutableArray = $.NSMutableArray("alloc")("initWithArray", NSKeyedUnarchiver); | |
| console.log(NSKeyedUnarchiver, NSMutableArray); | |
| pool('drain') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment