title: how to view content of static library in Xcode?
body: <p>Thank you in advance. I have a <code>static library</code>, say libpics.a. I want to see its contents, such as the code of that library. My static library has one <code>.h file</code> and one <code>.a file</code>, i can see content of <code>.h file</code>, there is only one method, but i can't see the content of <code>.a file</code>. After some search i can just find that, <code>.a file</code> contains the coding part of or implementation of <code>.h file's</code> method. I am new to <code>iOS</code> development, the code in that <code>.a file</code>, i want to extract it, and use it.</p>
  
  <p>I tried searching about how to open static library, but most of time i got search related to how to create static library and how to use it etc. But i just want to open static library file and just want to see the code in it's implementation file.</p>
  
  <p>I read something about <code>nm</code> and <code>ar</code> tool, but i don't understand that where to apply that code.</p>
  
  <p>something like this</p>
  
  <pre><code>nm -C libschnoeck.a | less
  </code></pre>
  
  <p>or </p>
  
  <pre><code>ar -t libsamplerate.a
  </code></pre>
  
  <p>after installing command line tool, i wrote<br>
        ar -x phpFramework.a<br>
  code in terminal as per suggestion by  Владимир Водолазкий. i got below lines..</p>
  
  <pre><code>ar: phpFramework.a is a fat file (use libtool(1) or lipo(1) and ar(1) on it)
  ar: phpFramework.a: Inappropriate file type or format
  </code></pre>