title: Core Data: Error, "Can't Merge Models With Two Different Entities Named 'foo' "
body: <p>I'm working on an iPhone app that uses Core Data. Most times, I just test in the simulator, but occasionally pump the app down to the iPad to make sure.</p>
  
  <p>I've recently changed my Core Data model, and now when I send the app to the iPad, I get a SIGABRT exception telling me:</p>
  
  <pre><code> Can't merge models with two different entities named 'foo'
  </code></pre>
  
  <p>OK, that I understand. Old version of the database exists on the device. So, I (try to) kill the old version by press/holding the application's icon until it starts wiggling, and then tap its "X". The iPad asks me if I want to delete the application <em>and all of its data</em>. I say yes.</p>
  
  <p>I rebuild the app, targetting the iPad, and get the same error.</p>
  
  <p>Is there a trick to getting the old database to really go away?</p>