Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Shadow build failure for iOS

Shadow build failure for iOS

Scheduled Pinned Locked Moved Solved Mobile and Embedded
iosqt creatorshadow build
4 Posts 2 Posters 1.8k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    DRoscoe
    wrote on last edited by
    #1

    I have an iOS project that builds in Qt Creator up until the point where the Settings.bundle is to be created. It first fails with Root.plist with an error: "No such file or directory". I check the path indicated and sure enough, the file is not there. I manually copied it over from my source tree and tried again. This time, it complains about Root.strings, etc.. none of the bundle files are in the shadow build location.

    This only happens when I do a shadow build.

    Is there something I'm missing in setting up my project that would ensure that these files get copied over for shadow builds, or is there another solution?

    Thanks!

    1 Reply Last reply
    0
    • D Offline
      D Offline
      DRoscoe
      wrote on last edited by
      #2

      I solved the problem on my own. I was not setting the path to the Root.plist file:

      SETTINGS_BUNDLE_DATA_ROOT.file += Root.plist
      SETTINGS_BUNDLE_DATA_ROOT.path += Settings.bundle
      

      When not doing a shadow build, the current path is the same. With a shadow build that is not the case, and the file does not exist at that location. This solved the problem:

      SETTINGS_BUNDLE_DATA_ROOT.file += $$PWD/Root.plist
      SETTINGS_BUNDLE_DATA_ROOT.path += $$PWD/Settings.bundle
      

      Silly me.

      1 Reply Last reply
      0
      • D Offline
        D Offline
        DRoscoe
        wrote on last edited by
        #3

        The interface won't let me mark this topic as SOLVED

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Hi,

          Because you didn't ask a question ;)

          Click on the "Topic Tools" button, there you'll see "Ask as question", then click again and you should get the usual mark as solved stuff.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          1

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved