Search code examples
appcelerator

No config.adapter.idAttribute specified for table "books" in Titanium Appcelerator


I am new very new to appcelerator. And while following quick start guide, I cannot produce the build on iOS simulator, even after exactly copy pasting the code in the required models and controllers. Console gives me following info:

  • No config.adapter.idAttribute specified for table "books"
  • Adding "alloy_id" to uniquely identify rows

Simulator stops at the default splash screen and nothing happens after that. Can gurus walk me through this?


Solution

  • Are you stuck at the first build stage? If so check out my answer here:

    Appcelerator Dev Questions - favebooks tutorial

    It's because nothing is being called to launch the app when it initially loads so it hangs at the splash screen, the model is fine, it's the index.js and index.xml you need to look at.