Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-77941

Wrong "lib" prefix for target breaks build for ios

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Not Evaluated Not Evaluated
    • None
    • 5.12.5
    • Build System
    • None
    • macOS 10.14.6 with xcode 10.3
    • iOS/tvOS/watchOS

      In the latest snapshot (23.08.19) you cannot create ios apps anymore, because in the Makefile there is a wrong "lib" prefix added to the target although the template is set to "app"

      appdemo.pro:

      TEMPLATE = app
      TARGET = AppDemo
      FTARGET = "Test.app"
      CONFIG *= c++11
      QT += qml gui quick quickcontrols2

      Trying to build results in:

      19:17:30: Starte: "/usr/bin/make" -j16xcodebuild build -project libAppDemo.xcodeproj -scheme libAppDemo -configuration Release -destination generic/platform=iOS -destination-timeout 1 ENABLE_ONLY_ACTIVE_RESOURCES=NO Build settings from command line: ENABLE_ONLY_ACTIVE_RESOURCES = NO 
      xcodebuild: error: 'libAppDemo.xcodeproj' does not exist.make: *** [xcodebuild-release-device] Error 6619:17:31: Der Prozess "/usr/bin/make" wurde mit dem Rückgabewert 2 beendet.Fehler beim Erstellen/Deployment des Projekts appdemo (Kit: Qt 5.12.5 for iOS)

      This problem does not occur on 5.12.4

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qtbuildsystem Qt Build System Team
            stefanm Stefan Meier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes