CMake for iOS. How to setup deployment target and device family with iOS?
-
wrote on 10 Oct 2022, 09:23 last edited by
Hello all!
What is the same command in Qt Cmake file for implementing deployment target and device family with iOS?
The QMake command is:QMAKE_IOS_DEPLOYMENT_TARGET = 13.0 QMAKE_APPLE_TARGETED_DEVICE_FAMILY = 1,2
Or everything doing through the Info.plist?
-
wrote on 15 Aug 2023, 11:50 last edited by
Issue closed.
Use this:
-- for deployment target https://cmake.org/cmake/help/latest/variable/CMAKE_OSX_DEPLOYMENT_TARGET.html
-- and this for device familyset(CMAKE_XCODE_ATTRIBUTE_TARGETED_DEVICE_FAMILY "1,2")
-