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 release build fails (Qt World Summit Conference App)
Qt 6.11 is out! See what's new in the release blog

iOS release build fails (Qt World Summit Conference App)

Scheduled Pinned Locked Moved Solved Mobile and Embedded
20 Posts 3 Posters 6.8k Views 2 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.
  • hskoglundH Offline
    hskoglundH Offline
    hskoglund
    wrote on last edited by hskoglund
    #4

    I built your app with 7.3 (can't start 8.0, that silly "have to agree to license" keep popping up in Qt Creator :-(

    ekkescornerE 1 Reply Last reply
    0
    • hskoglundH hskoglund

      I built your app with 7.3 (can't start 8.0, that silly "have to agree to license" keep popping up in Qt Creator :-(

      ekkescornerE Offline
      ekkescornerE Offline
      ekkescorner
      Qt Champions 2016
      wrote on last edited by ekkescorner
      #5

      @hskoglund Xcode8 - I went thru all the problems and also https://bugreports.qt.io/browse/QTCREATORBUG-16968
      it's working for other projects - so it's not a generic problem with Xcode8 I think
      only this project causes release build problems

      ekke ... Qt Champion 2016 | 2024 ... mobile business apps

      1 Reply Last reply
      0
      • hskoglundH Offline
        hskoglundH Offline
        hskoglund
        wrote on last edited by
        #6

        Should google on how to get rid of "Xcode not set up properly.." just a minute..

        ekkescornerE 1 Reply Last reply
        0
        • hskoglundH hskoglund

          Should google on how to get rid of "Xcode not set up properly.." just a minute..

          ekkescornerE Offline
          ekkescornerE Offline
          ekkescorner
          Qt Champions 2016
          wrote on last edited by
          #7

          @hskoglund think it was running xcodebuild -license from terminal

          ekke ... Qt Champion 2016 | 2024 ... mobile business apps

          1 Reply Last reply
          0
          • hskoglundH Offline
            hskoglundH Offline
            hskoglund
            wrote on last edited by
            #8

            Did that, not enough. Think I have to edit the mkspecs...

            1 Reply Last reply
            0
            • hskoglundH Offline
              hskoglundH Offline
              hskoglund
              wrote on last edited by
              #9

              https://bugreports.qt.io/browse/QTBUG-56004 did that, didn't help. Maybe because I upgraded to Sierra (macOS 10.11) yesterday :-(
              I have time later tonight, can look into it more then...

              ekkescornerE 1 Reply Last reply
              0
              • hskoglundH hskoglund

                https://bugreports.qt.io/browse/QTBUG-56004 did that, didn't help. Maybe because I upgraded to Sierra (macOS 10.11) yesterday :-(
                I have time later tonight, can look into it more then...

                ekkescornerE Offline
                ekkescornerE Offline
                ekkescorner
                Qt Champions 2016
                wrote on last edited by
                #10

                @hskoglund thx looking into this.

                ekke ... Qt Champion 2016 | 2024 ... mobile business apps

                ekkescornerE 1 Reply Last reply
                0
                • ekkescornerE ekkescorner

                  @hskoglund thx looking into this.

                  ekkescornerE Offline
                  ekkescornerE Offline
                  ekkescorner
                  Qt Champions 2016
                  wrote on last edited by
                  #11

                  BTW: thinking to clone my app and try it out if it works.
                  At first I want to know if it is safe to manage the same App (same name and content of .pro), but at different file locations in Qt Creator without any trouble.
                  thx for any hints

                  ekke ... Qt Champion 2016 | 2024 ... mobile business apps

                  1 Reply Last reply
                  0
                  • ekkescornerE Offline
                    ekkescornerE Offline
                    ekkescorner
                    Qt Champions 2016
                    wrote on last edited by
                    #12

                    also asked in Interest and Qt Creator List.
                    Eike Ziller found the reason why release build fails under iOS:

                    That’s a crash in Qt Quick Compiler, which looks like it is https://bugreports.qt.io/browse/QTBUG-54482

                    Eike saved my day :)
                    looked at the bugreport and immediately know the reason and fixed it:

                    Timer {
                                id: autoVersionCheckTimer
                                interval: 3600000 // 60*60*1000
                                repeat: false
                                onTriggered: {
                                    appWindow.doAutoVersionCheck()
                                }
                            }
                    

                    just built the release, uploaded to AppStore and added build to TestFlight
                    now all projects are working with Qt 5.7 and Xcode8 :)

                    ekke

                    ekke ... Qt Champion 2016 | 2024 ... mobile business apps

                    1 Reply Last reply
                    1
                    • hskoglundH Offline
                      hskoglundH Offline
                      hskoglund
                      wrote on last edited by
                      #13

                      Good news!
                      (yesterday evening I tested building your app on Xcode 8 and it worked fine (of course!), I thought I'd sleep on it. So it was an overflow bug, good it's solved.)
                      Also yesterday I forgot rule #1: always google for the error message first (if you do, you get that QTBUG-54482 as the first hit, the bug report is from June 30) but since it worked for me, it wasn't obvious :-)

                      ekkescornerE 1 Reply Last reply
                      0
                      • hskoglundH hskoglund

                        Good news!
                        (yesterday evening I tested building your app on Xcode 8 and it worked fine (of course!), I thought I'd sleep on it. So it was an overflow bug, good it's solved.)
                        Also yesterday I forgot rule #1: always google for the error message first (if you do, you get that QTBUG-54482 as the first hit, the bug report is from June 30) but since it worked for me, it wasn't obvious :-)

                        ekkescornerE Offline
                        ekkescornerE Offline
                        ekkescorner
                        Qt Champions 2016
                        wrote on last edited by
                        #14

                        @hskoglund I did a search but with the wrong line ;-)

                        so you have no issues with Sierra ?

                        ekke ... Qt Champion 2016 | 2024 ... mobile business apps

                        hskoglundH 1 Reply Last reply
                        0
                        • ekkescornerE ekkescorner

                          @hskoglund I did a search but with the wrong line ;-)

                          so you have no issues with Sierra ?

                          hskoglundH Offline
                          hskoglundH Offline
                          hskoglund
                          wrote on last edited by
                          #15

                          @ekkescorner No Sierra seems quite harmless, I said no to installing Siri and the only new thing seems some new nice wallpapers with the Sierra mountains.
                          However getting Qt Creator 4.10 to build a sample app for iOS required editing 2(!) different .prf files in the mkspecs subdirectory jungle, thankfully it was documented on Stackoverflow. But I think that is more because of Xcode 8 and less because of Sierra.

                          ekkescornerE 1 Reply Last reply
                          1
                          • hskoglundH hskoglund

                            @ekkescorner No Sierra seems quite harmless, I said no to installing Siri and the only new thing seems some new nice wallpapers with the Sierra mountains.
                            However getting Qt Creator 4.10 to build a sample app for iOS required editing 2(!) different .prf files in the mkspecs subdirectory jungle, thankfully it was documented on Stackoverflow. But I think that is more because of Xcode 8 and less because of Sierra.

                            ekkescornerE Offline
                            ekkescornerE Offline
                            ekkescorner
                            Qt Champions 2016
                            wrote on last edited by
                            #16

                            @hskoglund good to know. and yes: the mkspecs changes are caused by Xcode8.

                            ekke ... Qt Champion 2016 | 2024 ... mobile business apps

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

                              I confirm it's Xcode 8 that changed some stuff again. The next round of Qt releases are already fixed.

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

                              ekkescornerE 1 Reply Last reply
                              0
                              • hskoglundH Offline
                                hskoglundH Offline
                                hskoglund
                                wrote on last edited by
                                #18

                                Yes indeed I just discovered, Xcode 8 has really moved my cheese.
                                For many years I've had my Xcode keyboard plugin, but now Xcode 8 has obsoleted that and introduced "Xcode source editor extensions".
                                Reminds me of when Microsoft changed the Visual Studio plugin infrastructure for VS2015 (was bad news for the Qt VS Addin) Apple had to do same kind of "improvement" now :-(

                                1 Reply Last reply
                                1
                                • SGaistS SGaist

                                  I confirm it's Xcode 8 that changed some stuff again. The next round of Qt releases are already fixed.

                                  ekkescornerE Offline
                                  ekkescornerE Offline
                                  ekkescorner
                                  Qt Champions 2016
                                  wrote on last edited by
                                  #19

                                  @SGaist said in iOS release build fails (Qt World Summit Conference App):

                                  I confirm it's Xcode 8 that changed some stuff again. The next round of Qt releases are already fixed.

                                  yep - new Qt releases will help with mkspec changes
                                  but there are also changes required in .pro because Xcode has new requirements for signing apps
                                  I had to add under ios/:

                                  QMAKE_XCODE_CODE_SIGN_IDENTITY = "iPhone Developer"
                                  MY_DEVELOPMENT_TEAM.name = DEVELOPMENT_TEAM
                                  MY_DEVELOPMENT_TEAM.value = XXX42XXX42
                                  QMAKE_MAC_XCODE_SETTINGS += MY_DEVELOPMENT_TEAM
                                  

                                  where team value can be found at Apple Developer/account membership
                                  using Xcode 7.3 there's no need to add this

                                  ekke ... Qt Champion 2016 | 2024 ... mobile business apps

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

                                    I saw some people already experiencing an issue with that.

                                    Seems like Xcode 8 is a bit less intuitive...

                                    Thanks for the hint

                                    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
                                    0

                                    • Login

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