CPack: Impossible to produce IPA file (iOS/tvOS) out of the box
IPA is a standard format to distribute iOS/tvOS apps which is just a zip with special structure: basically the built .app bundle is placed in Payload
directory and then this directory is zipped.
Creating such zip file with CPack is already possible (see example here), but there's no way to give it a custom extension, so I have to perform renaming with an additional script.
Adding new CPack variable that allows specifying custom archive extension (e.g. CPACK_ARCHIVE_OUTPUT_EXTENSION
) would solve this.
Edited by Brad King