title: what does Error “Thread 1:EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0)” mean in delegate?
body: <p>i got this error, and how can i solve this error? I addd this code bellow in AppDelegate to make CRUD App and i don't know to solved it.</p>
  
  <pre><code>let modelURL = Bundle.main.url(forResource: "CoreDataExample", withExtension: "momd")!
  </code></pre>
  
  <p>my reference from here ..<a href="http://codewithchris.com/iphone-app-connect-to-mysql-database/" rel="nofollow noreferrer">http://codewithchris.com/iphone-app-connect-to-mysql-database/</a></p>
  
  <p>cause i use XCode 8 and in this tutorial use xcode 7. </p>