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:
Simulator stops at the default splash screen and nothing happens after that. Can gurus walk me through this?
When you edited controllers/index.js you probably erased everything that was there and not only the doClick() function. You need to leave $.index.open(); at the end of the file, or you will get No config.adapter.idAttribute specified for table "books" error
Your code should look like this:
var myBooks = Alloy.Collections.books;
var book = Alloy.createModel('books', {
title : 'Great Expectations',
author: 'Charles Dickens'
});
myBooks.add(book);
book.save();
$.index.open();
Hope this helps
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With