title: While using two static library in project, conflict due to class with same name compiled in both static libraries
body: <p>I have implemented two static library having the following structure:</p>
  
  <h2>FirstStaticLibrary.a</h2>
  
  <p>BaseClass.h</p>
  
  <pre><code>@interface BaseClass
  
  -some methods
  
  @end
  </code></pre>
  
  <p>FirstDerivedClass.h</p>
  
  <pre><code>@interface FirstDerivcedClass:BaseClass
  {
  }
  
  -some methods
  
  @end
  </code></pre>
  
  <h2>SecondStaticLibrary.a</h2>
  
  <p>BaseClass.h</p>
  
  <pre><code>@interface BaseClass
  
  -some methods;
  
  @end
  </code></pre>
  
  <p>SecondDerivedClass.h</p>
  
  <pre><code>@interface SecondDerivedClass:BaseClass
  {
  }
  
  -someMethods;
  
  @end
  </code></pre>
  
  <p>Above two static library is having the common file BaseClass.h and BaseClass.m</p>
  
  <p>These static libraries are added into TestApplication Project.</p>
  
  <p>But while running the application, it's throwing an error:</p>
  
  <blockquote>
    <p>Duplicate symbols found in /User/Library/Developer/Xcode/..E./FirstStaticLibrary.a (BaseClass.o) and /User/Library/Developer/Xcode/..E./SecondStaticLibrary.a (BaseClass.o) for architecture i386</p>
  </blockquote>
  
  <p>Please suggest a way to remove this error.</p>