[Interest] Compiing Qt 5.7.1 for iOS, with iPhoneOS10.2.sdk

Samuel Gaist samuel.gaist at edeltech.ch
Thu Dec 22 16:53:26 CET 2016


> On 22 Dec 2016, at 16:05, Jason H <jhihn at gmx.com> wrote:
> 
> ../qt-everywhere-enterprise-src-5.7.1/configure -v -xplatform macx-ios-clang
> clang: warning: no such sysroot directory: '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.1.sdk'
> 
> I don't have iPhoneOS10.1.sdk, but I do have a iPhoneOS10.2.sdk
> 
> What can be done to make the compile work? Can Qt's configure script be more flexible?
> 
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest


Hi,

It’s already flexible, add -sdk iphoneos10.2 to your configure line.

If you are re-building after an Xcode update don’t just calle rm ./ -rf in your build folder you’ll miss hidden files. Nuke it completely and re-create a new one.

Samuel


More information about the Interest mailing list