title: Framework can only work on simulator, but not device
body: <p>I'm using Xcode Version 7.2 (7C68).</p>
  <p>I met a problem after I build DTCoreText project as framework.
  DTCoreText.framework works fine on ios simulator, but when i want to test it on device, the following problem showed up:</p>
  <p><a href="https://i.stack.imgur.com/fZN4q.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/fZN4q.png" alt="enter image description here" /></a></p>
  <p>I've checked the build settings in the latest <a href="https://github.com/Cocoanetics/DTCoreText/releases/tag/1.6.17" rel="nofollow noreferrer">DTCoreText-1.6.17</a> project:</p>
  <p>Target: <strong>DTCoreText (iOS)</strong></p>
  <p>ARCHS: <strong>armv7, arm64</strong></p>
  <p>ONLY_ACTIVE_ARCH: <strong>NO</strong></p>
  <p>VALID_ARCHS: <strong>arm64, armv7, armv7s</strong></p>
  <p>I think these settings are OK. Than I &quot;Build for Profiling&quot; by pressing Shift+CMD+i.</p>
  <blockquote>
  <ul>
  <li><strong>Build using simulator:</strong></li>
  </ul>
  <p>I noticed the current device i just used for building is <strong>Simulator
  (iPhone 6 Plus)</strong>. And I find the DTCoreText.framework under the
  <strong>Release-iphonesimulator</strong> folder. by doing this, the DTCoreText.framework only works fine when using iphone simulator, but
  not on real device.</p>
  <ul>
  <li><strong>Build using device:</strong></li>
  </ul>
  <p>Than I tried to rebuild DTCoreText.framework with the same build
  settings, but using <strong>&quot;Generic iOS Device&quot;</strong> or <strong>&quot;Real Device (eg:
  iPhone 6s)&quot;</strong>. I got the DTCoreText.framework under
  <strong>Release-iphoneos</strong> folder. By doing this, the DTCoreText.framework only works fine when using real device, but not on iphone simulator.</p>
  </blockquote>
  <p>I don't know why it is happening.
  How to build DTCoreText.framework for both simulator and real device?</p>