fix default path to apple plist file

This commit is contained in:
Andrei Yankovich 2022-01-20 18:31:10 +03:00
parent e45bd71799
commit 48d9f8bc40

View File

@ -422,13 +422,12 @@ function(addDeployIPA name bundle_id targetDir version appleDir)
endif()
set(QUASAR_CUSTOM_PLIST "${appleDir}/Info.plist")
if (EXISTS "${QUASAR_CUSTOM_PLIST}")
if (NOT EXISTS "${QUASAR_CUSTOM_PLIST}")
set(QUASAR_CUSTOM_PLIST "${QUASAR_MODULE_CURRENT_DIR}/QtIosCMake/Info.plist.in")
endif()
message("Use Aple dir: ${appleDir}")
add_qt_ios_app(createIPA${name} ${name}
NAME ${name}
BUNDLE_IDENTIFIER ${bundle_id}