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. IOS launch image no longer support from Info.plist
Qt 6.11 is out! See what's new in the release blog

IOS launch image no longer support from Info.plist

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
5 Posts 2 Posters 1.1k 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.
  • ocgltdO Offline
    ocgltdO Offline
    ocgltd
    wrote on last edited by
    #1

    I have the latest xcode and Qt installed, and am trying to compile my app for ios. ALl works great, so I decided to add launch images as described here:

    https://doc.qt.io/qt-5/ios-platform-notes.html

    However, it seems that Apple has removed all support for launch images from Info.plist (now get a compiler error).

    Could someone update the platform notes, or perhaps just post here, how to create a storyboard (which I think is how Apple wants us to do it) in a fashion that is Qt friendly?

    J.HilkJ 1 Reply Last reply
    0
    • ocgltdO ocgltd

      I have the latest xcode and Qt installed, and am trying to compile my app for ios. ALl works great, so I decided to add launch images as described here:

      https://doc.qt.io/qt-5/ios-platform-notes.html

      However, it seems that Apple has removed all support for launch images from Info.plist (now get a compiler error).

      Could someone update the platform notes, or perhaps just post here, how to create a storyboard (which I think is how Apple wants us to do it) in a fashion that is Qt friendly?

      J.HilkJ Offline
      J.HilkJ Offline
      J.Hilk
      Moderators
      wrote on last edited by J.Hilk
      #2

      hi @ocgltd
      ran into that myself, the support is not dropped but a size limit was apparently added, I had to rescale my launch image down to 20 is kb and it resumed working


      Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


      Q: What's that?
      A: It's blue light.
      Q: What does it do?
      A: It turns blue.

      1 Reply Last reply
      1
      • ocgltdO Offline
        ocgltdO Offline
        ocgltd
        wrote on last edited by ocgltd
        #3

        I will try rescaling my images. They are approx 256kb now, so that's going to be a big (grainy) reduction! How did you get your file sizes that small? Did you scale the horizontal and vertical pixel counts? Compress (if possible with PNG)? Reduce color depth?

        Can you confirm the link above is accurate? In particular, the plist (xml) filenames do NOT match the filenames suggest for use earlier. For example, suggested file called LaunchImage-iOS7-568h@2x.png is referenced in XML as LaunchImage-iOS7 (what happened to the rest of the filename)

        At the moment my build process dies with:

        The following build commands failed:
        	ProcessInfoPlistFile Release-iphoneos/myapp.app/Info.plist /Volumes/data/development-sillykitty/myapp/ios/Info.plist
        (1 failure)
        make: *** [xcodebuild-release-device] Error 65
        17:44:05: The process "/usr/bin/make" exited with code 2.
        
        J.HilkJ 1 Reply Last reply
        0
        • ocgltdO ocgltd

          I will try rescaling my images. They are approx 256kb now, so that's going to be a big (grainy) reduction! How did you get your file sizes that small? Did you scale the horizontal and vertical pixel counts? Compress (if possible with PNG)? Reduce color depth?

          Can you confirm the link above is accurate? In particular, the plist (xml) filenames do NOT match the filenames suggest for use earlier. For example, suggested file called LaunchImage-iOS7-568h@2x.png is referenced in XML as LaunchImage-iOS7 (what happened to the rest of the filename)

          At the moment my build process dies with:

          The following build commands failed:
          	ProcessInfoPlistFile Release-iphoneos/myapp.app/Info.plist /Volumes/data/development-sillykitty/myapp/ios/Info.plist
          (1 failure)
          make: *** [xcodebuild-release-device] Error 65
          17:44:05: The process "/usr/bin/make" exited with code 2.
          
          J.HilkJ Offline
          J.HilkJ Offline
          J.Hilk
          Moderators
          wrote on last edited by
          #4

          @ocgltd said in IOS launch image no longer support from Info.plist:

          Can you confirm the link above is accurate

          I think so,
          It is the guide I originally also used, it even seems updated to from when I used it. I do however use a storyboard for launch image stuff, IIRC

          At the moment my build process dies with:

          you updated Xcode, did you make a clean rebuild ? Deleted build folder and, importantly removed the qmake.stash file, that one may be potentially outside the build folder


          Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


          Q: What's that?
          A: It's blue light.
          Q: What does it do?
          A: It turns blue.

          1 Reply Last reply
          0
          • ocgltdO Offline
            ocgltdO Offline
            ocgltd
            wrote on last edited by ocgltd
            #5

            I see on apple site that size is limited to 25MB, so I'm already well within that range (each file is < 1MB). So that's not it.

            I deleted build folders, couldn't find any qmake.stash, cleaned and rebuilt. Still same error. I include only 2 launch images now (ignore ipad in plist) and error remains....

            Perhaps I should give up on this approach. From what I read online Apple has already deprecated launchimage inside plist.

            Are there any Qt friendly steps for building/using a storyboard with launch images?

            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