title: Xcode 4.2 -- App doesn't run on hardware -- no error messages to be found
body: <p>I have an app built on Xcode 4.2, iOS 5, deployment target iOS 4.2, building for debug, with valid identity/provisioning profile (they work under Xcode 3), phone (actually an iPod Touch 4.2.1) plugged in and acknowledged by Organizer, showing the provisioning profile.</p>
  
  <p>The app runs fine under the simulator, but when I compile/run for the Touch it says "Build Succeeded" and then <em>immediately</em> afterwards "Finished running XXX on iPod Touch" appears in the build progress box.  Neither the Xcode console nor the Touch's console show any messages.  No device logs either.  The application doesn't appear as installed on the device.  Breakpoint at entry to applicationDidBecomeActive is never hit.</p>
  
  <p>Any idea what's wrong?  I've searched Xcode 4 high and low for any sign of a build log that might contain hidden build/deployment error messages, but can't find anything.</p>
  
  <p>I did find <a href="https://stackoverflow.com/q/6378228/581994">this</a> thread, but mucking with the "Architecture" stuff produced no change.</p>
  
  <p><strong>Aha!!</strong>  There are "Architecture" entries under both "PROJECT" and "TARGETS" and I was mucking with "PROJECT".  Setting the "Architecture" under "TARGETS" caused it to start working.  (YOY do they have both, when one is ignored, and YOY don't they produce some sort of error message in this situation?)</p>