Uploaded image for project: 'Qbs ("Cubes")'
  1. Qbs ("Cubes")
  2. QBS-931

Error running 'actool': No such file or directory

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 1.4.5
    • 1.4.4
    • General
    • None
    • OSX 10.11
      XCode 7.2
      QBS 1.4.4
      Qt Creator master (> 3.6)
    • 258383fbf4c7aa4d0cb2051cd6f9dbfacf0630e3

    Description

      While compiling Qt Creator from inside Qt Creator + qbs plugin I get the following error:

      linking libProjectExplorer_debug.dylib
      compiling fakevim_test.cpp
      compiling diffeditorfactory.cpp
      compiling moc_diffview.cpp
      compiling sidebysidediffeditorwidget.cpp
      lrelease qtcreator_uk.ts
      moc emacskeysplugin.h
      /Users/alex/Dev/qtcreator/build-qtcreator-Qt_5_6_x_v2-Release/bin/Qt Creator.app/Contents/Resources/qbs/share/qbs/modules/ib/IBModule.qbs:191:26 Error while calling Rule.outputArtifacts: Error: Error running 'actool': No such file or directory
      The following products could not be built for configuration qtc_Qt_5_6_x_38236a72-debug:
      	Translations
      	Qt Creator
      	qtcjson
              .......
      Error while building/deploying project qtcreator (kit: Qt 5.6.x)
      When executing step "Qbs Build"
      

      Looking into it a bit:

      • actoolPath is just "actool"
      • At top of IBModule.qbs there is a comment
        "Depends { name: "cpp" }

        // to put toolchainInstallPath in the PATH for actool"

      • Checking toolchainInstallPath for my Qt 5.6 Kit in Qt Creator Preferences -> Qbs -> cpp -> toolchainInstallPath is equal just to = "/usr/bin"
      • By looking into qbs config-ui there are 2 toolchain profiles:
        xcode-macosx-clang for which toolchainInstallPath is "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin"

      and xcode-macosx-gcc for which toolchainInstallPath is "/Applications/Xcode.app/Contents/Developer/usr/bin"

      A thing to note that actool is only present in the second directory.
      > xcrun --find actool
      /Applications/Xcode.app/Contents/Developer/usr/bin/actool

      Attachments

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

        Activity

          People

            jakepetroules Jake Petroules (DO NOT ASSIGN ISSUES)
            alexandru.croitor Alexandru Croitor
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes