title: Why is SenTestingKit causing my app to crash?
body: <p>I've created a map-based app for the iPhone, and recently submitted it to the store. I had no trouble running the app on the device or simulator. However, the store rejected it because it crashed on launch. The crash logs complain that the SenTestingKit framework wasn't found:</p>
  
  <pre><code>Date/Time:       2012-02-21 19:02:26.048 -0800
  OS Version:      iPhone OS 5.0.1 (9A405)
  Report Version:  104
  
  Exception Type:  EXC_BREAKPOINT (SIGTRAP)
  Exception Codes: 0x00000001, 0xe7ffdefe
  Crashed Thread:  0
  
  Dyld Error Message:
    Library not loaded: /Developer/Library/Frameworks/SenTestingKit.framework/SenTestingKit
    Referenced from: /var/mobile/Applications/*Long Application Reference Number*/MyApp.app/U of T Map
    Reason: image not found
    Dyld Version: 199.5
  </code></pre>
  
  <p>I've looked into others having this problem, and I'm sure as I continue to fiddle with it, I'll find the framework search path I need to include the SenTestingKit framework successfully.</p>
  
  <p>What I'm confused about and need help understanding is:</p>
  
  <ol>
  <li><p>Why did the device and simulator run fine without the framework, but the archived version didn't? </p></li>
  <li><p>Why does it think I need this framework? I didn't use any unit testing during development. I used the SBJSON and ASIHTTPRequest libraries, but I didn't see an #import statement for SenTestingKit in any of the library code.</p></li>
  <li><p>Is it easier for me to remove the need for SenTestingKit or somehow include it properly in the archive? I'd like to fix this problem, but I need this re-submitted to the app store ASAP.</p></li>
  </ol>
  
  <p>I would really like to understand this problem on a conceptual level, rather than hack away until things work.</p>