Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Qt 5.15.2 for iOS kit problem.
Forum Updated to NodeBB v4.3 + New Features

Qt 5.15.2 for iOS kit problem.

Scheduled Pinned Locked Moved Solved Installation and Deployment
20 Posts 4 Posters 1.7k 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.
  • T Offline
    T Offline
    tkoka
    wrote on last edited by tkoka
    #1

    Hi,

    I want to make a simple application with qmake Build System for Qt 5.15.2 iOS by installing Qt on a Mac computer, so I choose the simulator as a kit, but I get the following errors. how can i solve it?. Sample images are as follows below.

    Kits:
    Screen Shot 2022-10-25 at 15.59.03.png
    Issues:
    Screen Shot 2022-10-25 at 15.52.28.png

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

      Hi,

      Did you check the path as suggested in the first error line ?

      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
      • T Offline
        T Offline
        tkoka
        wrote on last edited by tkoka
        #3

        Hi,
        The error found in the first error line has disappeared. I think probably solved when I set SDK setting to "Latest macOS" .
        After editing it, it automatically added two more new kits as in the picture below:

        Screen Shot 2022-10-26 at 11.45.51.png

        But now I'm getting an error like the picture below. Can you help?

        Screen Shot 2022-10-26 at 10.23.45.png

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

          No because the message is incomplete.

          Why do you have Xcode in your Download folder ?
          Which version is it ?

          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
          • T Offline
            T Offline
            tkoka
            wrote on last edited by tkoka
            #5

            I downloaded xcode 13.4.1 to install Qt 5.15.2 for iOS and I m installed xcode 13.4.1 from download folder . Other xcodes already exist in download folder . For example, do I need to delete Xcode 3 or what should i do to solve the problem?

            Here is my dowload folder below picture:

            Screen Shot 2022-10-26 at 14.57.14.png

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

              No, it was to understand what was going on.

              By the way, did you install the Command Line tools ? It might be your current issue.

              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
              • T Offline
                T Offline
                tkoka
                wrote on last edited by tkoka
                #7

                Command Line tools seems to be installed as in the picture below:
                Screen Shot 2022-10-27 at 09.29.08.png

                I also downloaded and installed Command Line Tools for Xcode 13.4 version, but I still can't compile the project as in the picture below:
                Screen Shot 2022-10-27 at 10.00.41.png

                Here is my compiler path in Qt and here is my Xcode Locations Command Line Tools the image below:
                Screen Shot 2022-10-27 at 13.29.58.png

                Screen Shot 2022-10-27 at 16.30.09.png

                After change my Command Line Tools from Xcode Locations to Xcode 13.3.1 "Can not target compiler" error I got before is gone, but a different error has occurred as follows. Can you help me solve it?
                Screen Shot 2022-10-27 at 16.31.18.png

                Screen Shot 2022-10-27 at 16.40.51.png

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

                  See this stack overflow answer for some clues.

                  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
                  • T Offline
                    T Offline
                    tkoka
                    wrote on last edited by tkoka
                    #9

                    Hi,
                    I solved one problem with externally installed Python 2.7.18 and change path #!/usr/local/bin/pyhton in devices.py file,
                    but the error continues :( , I need more detailed information. Can you help? The Q Compile Output picture is as follows:

                    Screen Shot 2022-11-03 at 10.33.59.png

                    jsulmJ 1 Reply Last reply
                    0
                    • T tkoka

                      Hi,
                      I solved one problem with externally installed Python 2.7.18 and change path #!/usr/local/bin/pyhton in devices.py file,
                      but the error continues :( , I need more detailed information. Can you help? The Q Compile Output picture is as follows:

                      Screen Shot 2022-11-03 at 10.33.59.png

                      jsulmJ Offline
                      jsulmJ Offline
                      jsulm
                      Lifetime Qt Champion
                      wrote on last edited by
                      #10

                      @tkoka Did you do what the warning asks you to?

                      https://forum.qt.io/topic/113070/qt-code-of-conduct

                      1 Reply Last reply
                      0
                      • T Offline
                        T Offline
                        tkoka
                        wrote on last edited by tkoka
                        #11

                        No @jsulm , what exactly needs to be updated (which has version 12.3)? I did not fully understand. Is it macos sdk in the picture in red rectangle below:

                        Screen Shot 2022-11-03 at 11.39.31.png

                        jsulmJ 1 Reply Last reply
                        0
                        • T tkoka

                          No @jsulm , what exactly needs to be updated (which has version 12.3)? I did not fully understand. Is it macos sdk in the picture in red rectangle below:

                          Screen Shot 2022-11-03 at 11.39.31.png

                          jsulmJ Offline
                          jsulmJ Offline
                          jsulm
                          Lifetime Qt Champion
                          wrote on last edited by
                          #12

                          @tkoka said in Qt 5.15.2 for iOS kit problem.:

                          Is it macos sdk

                          yes

                          https://forum.qt.io/topic/113070/qt-code-of-conduct

                          1 Reply Last reply
                          0
                          • T Offline
                            T Offline
                            tkoka
                            wrote on last edited by
                            #13

                            Do you know a document on how to update it?

                            jsulmJ 1 Reply Last reply
                            0
                            • T tkoka

                              Do you know a document on how to update it?

                              jsulmJ Offline
                              jsulmJ Offline
                              jsulm
                              Lifetime Qt Champion
                              wrote on last edited by
                              #14

                              @tkoka You probably need to update XCode

                              https://forum.qt.io/topic/113070/qt-code-of-conduct

                              1 Reply Last reply
                              0
                              • T Offline
                                T Offline
                                tkoka
                                wrote on last edited by tkoka
                                #15

                                @jsulm said in Qt 5.15.2 for iOS kit problem.:

                                ly need to update XCode

                                Current Xcode version is 13.3.1.Will it be solved if I install Xcode 14.1 version? Because it seems that the xcode 13 version is sufficient for QT 5.15 as in the link: QT 5.15 for ios

                                1 Reply Last reply
                                0
                                • T Offline
                                  T Offline
                                  tkoka
                                  wrote on last edited by tkoka
                                  #16

                                  Hi,
                                  I update my code to Xcode 14.1 version. After that I run sudo xcode-select --switch /Applications/xcode_14_0_1.app/Contents/Developer line in terminal.

                                  As a result, the error did not change but the warning changed as picture below:

                                  Screen Shot 2022-11-04 at 15.07.39.png

                                  Qt compile output section:

                                  Screen Shot 2022-11-04 at 15.08.34.png

                                  xcodebuild -showsdks picure:

                                  Screen Shot 2022-11-04 at 15.09.40.png

                                  Qt kits:

                                  Screen Shot 2022-11-04 at 15.21.20.png

                                  I installed the highest version of XCode (14.1). Do I need to install anything else? How should I solve the problem?

                                  1 Reply Last reply
                                  0
                                  • T Offline
                                    T Offline
                                    tkoka
                                    wrote on last edited by tkoka
                                    #17

                                    I want to upgrade MacOs Sdk to 13.2 version to solve the problem in Qt, but the highest version of MacOs Sdk is 13 as in the link below. How can we solve the problem?

                                    https://developer.apple.com/support/xcode/

                                    J.HilkJ 1 Reply Last reply
                                    0
                                    • T tkoka

                                      I want to upgrade MacOs Sdk to 13.2 version to solve the problem in Qt, but the highest version of MacOs Sdk is 13 as in the link below. How can we solve the problem?

                                      https://developer.apple.com/support/xcode/

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

                                      @tkoka what version of MacOS do your run ?

                                      latest sdk's are only available on "latest" macOS's


                                      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
                                      • T Offline
                                        T Offline
                                        tkoka
                                        wrote on last edited by tkoka
                                        #19

                                        My macOS: Ventura 13.0 .
                                        But when I try to compile a new or simple project in QT 5.15 for ios, i am getting error. I don't understand why QT wants 13.2 macOS sdk

                                        1 Reply Last reply
                                        0
                                        • T Offline
                                          T Offline
                                          tkoka
                                          wrote on last edited by
                                          #20

                                          Hi,
                                          After the above changes I uninstall and Install again Qt 5.15.2 version and probem was solved .

                                          Thanks for everyone.

                                          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