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

Can't deploy an iOS app with spaces in the TARGET executable name

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.5.0 Beta
    • 5.4.1
    • Build System
    • None
    • Mac OS Yosemite, Qt 5.4.1 for iOS and its bundled QtCreator.
    • iOS/tvOS/watchOS
    • f702d5c3270c4845f19a4e8ed7b58f00aaa47fe7

    Description

      If you try to use a TARGET with spaces in the name for iOS, the deploy fails with the following error. (BTW, I also had matching spaces for the executable name in the Info.plist file.)

      /Users/steve/Qt5.4.1/5.4/ios/mkspecs/macx-ios-clang/rename_main.sh:-1: error: wrong number of arguments for internal tool used by iOS mkspec

      /Users/steve/Inspiration/application/QML2/build-WidgetsGallery-iphoneos_clang_Qt_5_4_0_for_iOS-Release/Widgets Gallery.build/Release-iphoneos/Widgets_Gallery.build/Script-776D5E25B18ED6FE9A43064F.sh:-1: error: line 2: test: /Users/steve/Inspiration/application/QML2/build-WidgetsGallery-iphoneos_clang_Qt_5_4_0_for_iOS-Release/Release-iphoneos/Widgets\: binary operator expected

      If iOS supports spaces in the names of the executable file, perhaps rename_main.sh can be reworked to pass them on without error.

      Attachments

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

        Activity

          People

            buddenha Oswald Buddenhagen
            vstevenp Steve Pavao
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes