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

Wrong "lib" prefix for target breaks build for ios

    XMLWordPrintable

Details

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

    Description

      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

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes