Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

xcodebuild: error: Unable to find a destination matching the provided destination specifier:



  • Hi. I'm using the latest Qt version (5.8) and the latest xcode.
    I can create and run an app in my iPad using xcode but when I try to build my Qt app I obtain this error:

    xcodebuild: error: Unable to find a destination matching the provided destination specifier:
    { generic:1, platform:iOS }

        Available destinations for the "DomusBossTouch" scheme:
                { platform:macOS, arch:x86_64 }
                { platform:macOS, arch:i386 }
    

    make: *** [xcodebuild-release-device] Error 70

    Can someon suggest me a way to resolve?


  • Lifetime Qt Champion

    Hi,

    Aren't you trying to use a macOS Qt build your iPad application ?



  • Solved by comment out QMAKE_MAC_SDK = macosx10.12


  • Lifetime Qt Champion

    Put that line in a macOS scope and you should be good to go.

    Note that you might not need it anymore since you updated Qt.


Log in to reply