title: Decompile Obj C framework
body: <p>I want to decompile iOS Twitter framework, if fact I take twitterd file from xcode's simulator, which is precompiled to run on x86 (?), not ARM.
  As for tool I use <a href="http://code.google.com/p/i386codedump/" rel="noreferrer">http://code.google.com/p/i386codedump/</a>
  Instruction:</p>
  
  <pre><code>Usage: code-dump [options] &lt;mach-o-file&gt; where options are:
      -a             show instance variable offsets
      -A             show implementation addresses
      --arch &lt;arch&gt;  choose a specific architecture from a universal binary (ppc, i386, etc.)
      -C &lt;regex&gt;     only display classes matching regular expression
      -H             generate header files in current directory, or directory specified with -o
      -I             sort classes, categories, and protocols by inheritance (overrides -s)
      -o &lt;dir&gt;       output directory used for -H
      -r             recursively expand frameworks and fixed VM shared libraries
      -s             sort classes and categories by name
      -S             sort methods by name
      -t             suppress header in output, for testing
      -d             decompile
      -D &lt;arch&gt;       decompilation architecture
  </code></pre>
  
  <p>I kinda don't understand what options I need to take, that what I try:</p>
  
  <pre><code>iMac:documents $ ./code-dump -d twitterd
  2011-12-02 18:56:35.885 code-dump[1643:707] feedface, ao: 0
  2011-12-02 18:56:35.886 code-dump[1643:707] process: feedface (86000)
  /*
   *     Generated by code-dump 2.0.
   */
  This file does not contain any Objective-C runtime information.
  2011-12-02 18:56:35.888 code-dump[1643:707] Building lookup table...
  2011-12-02 18:56:40.308 code-dump[1643:707] Finished lookup table
  /usr/bin/lipo: input file (twitterd) must be a fat file when the -extract option is specified
  2011-12-02 18:56:40.868 code-dump[1643:707] CDAssemblyProcessor, 22288 instructions, 0 functions
  Segmentation fault: 11
  </code></pre>
  
  <p>What does this mean, what I need to do? :)</p>