I can't believe that InDesign CC for Mac cannot generate ePub table of content! All chapter titles in the TOC are substituted with the same book title, adding digit in the end, like "Book Title", "Book Title-1", "Book Title-2", "Book Title-3", etc. so I cannot submit result to the iBook store...
Is there and workaround?
Are you using a style for the TOC? If so, you need to select it in the ePub export options.
Thanks! My problem was that I chose ordinary paragraph style as a divider in ePub export dialog, not a TOC style. It did generate TOC, but without chapter title names. Once I ganerated TOC and chose TOC styles, all is OK.