title: framework in ios contain static or dynamic library inside
body: <p>I have come across multiple sites describing that frameworks can contain both static as well as dynamic library. But how do I identify if what the framework actually contains is a dynamic library or a static library. I thought of first taking help of extension (.a for static library, .dylib for dynamic library) but all I could see inside the framework that I was experimenting was that no extensions were provided for the binary file that was packaged inside. Is there any way I can find whether it's a static library or a dynamic library.</p>
  
  <p>Also I have read Landon Fuller's post on static libraries <a href="http://landonf.bikemonkey.org/code/ios/Radar_15800975_iOS_Frameworks.20140112.html" rel="nofollow noreferrer">http://landonf.bikemonkey.org/code/ios/Radar_15800975_iOS_Frameworks.20140112.html</a>
  in which he mentions that frameworks provide two level namespace for libraries but does it cover normal debug symbols and not just dependencies and does it work even for static libraries packaged inside frameworks.</p>
  
  <p>E.x. what happens if I have the same debug symbol inside a framework as well as in the project codebase to which it is linked. Will two level namespace work in that scenario.</p>
  
  <p>Also according to this author <a href="http://ddeville.me/2014/04/dynamic-linking/" rel="nofollow noreferrer">http://ddeville.me/2014/04/dynamic-linking/</a>
  framework is a bundle or package containing a dynamic library, header files and resources. </p>
  
  <p>As per the following post <a href="https://stackoverflow.com/questions/15331056/library-static-dynamic-or-framework-project-inside-another-project">Library? Static? Dynamic? Or Framework? Project inside another project</a>
  it says frameworks can contain both static as well as dynamic libraries.</p>
  
  <p>I am so confused by this. Can somebody explain framework in iOS as to what they contain and how they work in terms of two level namespace.</p>