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. Where's my bundle .plist file?
Forum Updated to NodeBB v4.3 + New Features

Where's my bundle .plist file?

Scheduled Pinned Locked Moved Solved Mobile and Embedded
ios
6 Posts 3 Posters 2.6k 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 am using qmake to generate an iOS Xcode project. I am using a custom .plist file which is copied into the bundle as Info.plist in the resulting bundle. However, the custom .plist file is not included in my project view when I load it into Xcode. Here is the way I am setting up the custom .plist file to be incorporated into the build

    QMAKE_INFO_PLIST = tap_display.plist
    

    I see the file listed in the Build Settings->Packaging page, and its correct in the bundle, but I want it included in the Supporting Files section in my project view, so I can edit it in Xcode.

    I appreciate any help!

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

      I found one solution. I added the custom .plist file to my OBJECTIVE_SOURCES list. This at least puts the file in the project view, and I was able to edit it via Xcode. I would prefer that the file were put in the "proper" location, as it would be if I were to create the project natively in Xcode.

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

        Hi,

        IIRC, you should take a look at OTHER_FILES for that.

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

        D 1 Reply Last reply
        0
        • NickVN Offline
          NickVN Offline
          NickV
          wrote on last edited by
          #4

          Open .xcodeproj file by double clicking it. This will open Xcode. Go to the Build Settings tab. In the packaging you will find the path for your .plist file.

          PS. The xcodeproj file is located inside build folder of your project.

          D 1 Reply Last reply
          0
          • NickVN NickV

            Open .xcodeproj file by double clicking it. This will open Xcode. Go to the Build Settings tab. In the packaging you will find the path for your .plist file.

            PS. The xcodeproj file is located inside build folder of your project.

            D Offline
            D Offline
            DRoscoe
            wrote on last edited by
            #5

            @NickV The whole problem is that the resulting Xcode project file does NOT contain the custom .plist file. Without that, I could not figure out how to edit it via Xcode. I need to use Xcode because the .plist parameter I am adding is custom for the third-party framework I am using, and hand-editing the file is not going to work since I don't know the internal representation of the resulting change. My previously posted solution solved that problem. I am left with a minor nit of getting the file in the proper place.

            1 Reply Last reply
            0
            • SGaistS SGaist

              Hi,

              IIRC, you should take a look at OTHER_FILES for that.

              D Offline
              D Offline
              DRoscoe
              wrote on last edited by
              #6

              @SGaist Unfortunately that did not work. For now, I'm going to mark this as solved as my previous fix is good enough for now.

              Thanks!

              1 Reply Last reply
              0

              • Login

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