Ok!
Major thank you to RCAustin for your help and pointing me in the right direction!
To help others that may have this problem in the future, I will highlight what I did. So indeed I did use Pages in order to create my book, and yes, indeed, my Table of Contents was missing an element.
- Anyways, having had some experience using Calibre in a Windows environment, I downloaded Calibre for my Mac.
- I saved the book to an EPUB format via Pages export functionality.
- I opened the EPUB in Calibre and clicked on Edit Book.
- At the same time, I ran the problematic EPUB through Pagina.
- Pagina gave me the location of the problem: /OPS/toc.xhtml (line 2, col 1451)
- From there, I found the file called toc.xhtml via the Edit Book function in Calibre.
- I found Line 2 and Col 1451, and generally looking at the pattern for the rest of the entries, I inserted text where there was a missing element in my Table of Contents: <a href="page-55.xhtml">x</a> . (Funny enough, this doesn't affect my real Table of Contents - so something screwy is happening, but since everything looks OK - I didn't bother finding out the root cause).
- I saved the changes I made to toc.xhtml.
- I used Pagina again, and this time - no errors! YAY (or so I thought...)
- I went into iTunes Producer, and submitted my book, only to get a new type of error:
ERROR ITMS-9000: "Invalid prefix attribute in root (package) element of the OPF file.
Please supply a prefix attribute with valid rendition value in root <package> element of the OPF file" at Book/BookAssets
- Now, I realized I had some sort of problem with the OPF file in my EPUB. It would seem I need to make some adjustment to the <package ...></package>.
- My package looked like this - again I viewed this OPF file in Calibre under the Edit Book feature:
<package xmlns:ibooks="http://www.idpf.org/2007/opf" xmlns="http://www.idpf.org/2007/opf" unique-identifier="BookId" version="3.0" prefix="ibooks: http://www.idpf.org/2007/opf calibre: https://calibre-ebook.com">
So after researching this online, I found out that I needed to include a rendition value - something like this:
<package xmlns:ibooks="http://www.idpf.org/2007/opf" xmlns="http://www.idpf.org/2007/opf" unique-identifier="BookId" version="3.0" prefix="ibooks: http://vocabulary.itunes.apple.com/rdf/ibooks/vocabulary-extensions-1.0/ calibre: http://calibre-ebook.comrendition: http://www.idpf.org/vocab/rendition/#">
- Once I made this adjustment to the OPF file, I saved it again in Calibre.
- I ran the EPUB file via Pagina again, and everything checked out! YAY (this time the YAY was ultimately founded).
- I submitted the book via iTunes Producer - and VOILA - everything indeed checked out!
When you are successful in submitting your book, you will have a note that says: "Your book has been delivered and should appear on iTunes Connect within 24 hours." 🙂
I must say, I think Apple should improve their book submission process to iTunes/iBooks to make it a little easier. I found the upload and submission process to be pretty seamless with Amazon Kindle. At the end of the day, I am glad I overcame these hurdles - and I hope this may help another potential author out there to get their book in the Apple ecosystem.
🙂
THANK YOU!