leetal / ios-cmake

A CMake toolchain file for iOS/iPadOS, visionOS, macOS, watchOS & tvOS C/C++/Obj-C++ development
BSD 3-Clause "New" or "Revised" License
1.91k stars 450 forks source link

[question] How to generate ipa file with this toolchain ? #132

Closed EndrII closed 2 years ago

EndrII commented 2 years ago

i build my Qt application using static build. After build i get folder APP_NAME.app with my static application and them sign.

i tried to compress the release folder to zip archive and rename zip file to ipa file. But after upload a have a error message "invalid ipa package"

error message:

ERROR ITMS-90072: "The IPA is invalid. It does not include a Payload directory."

Please add detail instruction for build ipa packages for upload to app store.

Thank you.

kambala-decapitator commented 2 years ago

packaging ipa has nothing to do with this toolchain.

you must put the built .app in Payload directory, then zip the Payload directory.

leetal commented 2 years ago

Closing this due to the above mentioned comment. This is outside the scope of this CMake toolchain.