Modify version number of Pages ePubs
On November 2018, Apple announced an update to Pages which allowed publishing directly to the Book Store without the use of iBooks Author. While the functionality is excellent, I found there is no way to change version numbers which causes an error when pushing updates via iTunes Producer. This article explains how to fix the error.
At the time of writing this article there is currently no way to modify the version number of the exported ePub. This causes an error when uploading the new file because the metadata is the same. Luckily “ePub files” are just packages which contain all of the assets which make up your book. This means you can follow these steps to change the metadata manually.
Rename the file extension to .zip
Extract the files
Locate the “epb.opf” file
Open with TextEdit and change the version number
Change the file extension back to .epub
Sometimes when following these steps the file header can get messed up. If you run into this problem I would recommend using the utility tool call ePub Zip-Unzip. I did try tools like Calibre, but the formatting was removed when exporting the new version.
I’m sure that Pages will be updated soon, but in the meantime the above will ensure you can push your latest updates to the Book Store.