title: Can you build dynamic libraries for iOS and load them at runtime?
body: <p>Are dynamic libraries supported on iOS (iPhone/iPad)?  </p>
  
  <p>In Xcode, I tried to create a <strong>New project</strong> -> <strong>Framework &amp; Library</strong> -> <strong>Cocoa Library (dynamic)</strong>. In the project settings, I set the <strong>Base SDK</strong> to <code>iOS device 4.1</code> and target to <code>iOS4.1</code>, but it has a build error:</p>
  
  <blockquote>
    <p>target specifies product type 'com.apple.product-type.library.dynamic', but there's no such product type for the 'iphonesimulator' platform". </p>
  </blockquote>
  
  <p>The build i selected is <strong>Simulator -> Debug -> i386</strong>.</p>