Skip to content

Instantly share code, notes, and snippets.

@pudquick
Last active July 5, 2016 13:18
Show Gist options
  • Save pudquick/8307185 to your computer and use it in GitHub Desktop.
Save pudquick/8307185 to your computer and use it in GitHub Desktop.
Workflow for editing the index.xml in a iBooks Author .iba file without issues
@teppo-localeyes
Copy link

It seems that the reason why unzipping and rezipping normally doesn't work is that OS X Archive Utility creates ZIP 1.0 files and iBooks Author expects .iba files to be ZIP 2.0 files. You can also work around this by changing the extension of the .iba file to .zip, unzipping normally, changing the files however you like and then adding them back to the original .zip file with:
cd folder_with_changed_files
zip original_zip_file.zip *

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment