Building Qt 5.5. apps for iOS 9?
-
I have previously been running my Qt 5 application on iOS 8 without any problems, but after upgrading to XCode 7 and iOS 9 I can't even compile the app for iOS anymore. After upgrading XCode to version 7 I found that I needed to specify the Mac OS SDK version in my .pro file like so QMAKE_MAC_SDK = macosx10.11. That worked perfectly for building the application for Mac OS, but when I try to build for iOS I get the following message:
Current macosx10.11 SDK version (10.11) is too old. Please upgrade Xcode.
I obviously can't upgrade XCode since that I was I just did :-) I'm guessing my best bet is to find a way to "downgrade" my XCode and Mac OS SDKs, but that would mean waving goodbye to iOS 9 support for now...
Does anybody know how I can get it to work on iOS 9?
Best regards,
Mads -
@madsdk : This may be relevant, or link to something which is https://bugreports.qt.io/browse/QTCREATORBUG-15147
(me, I'm still on xcode6)
-
Hello,
I had the same issue.
I modified my .pro with this two lines :@ osx: QMAKE_MAC_SDK = macosx10.11
ios: QMAKE_MAC_SDK = iphoneos9.1
@This works for me, and I didn't change Qt5.5.1 settings.
Hope it helps.Best Regards, Fabien.