Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
qtws26_logo

The Qt Event of the Year: Qt World Summit 2026

Save Your Spot >
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Latest release of Qt does not work with XCode 8.2.1 on macOS Sierra
Qt 6.12 LTS is out! See what's new in the release blog

Latest release of Qt does not work with XCode 8.2.1 on macOS Sierra

Scheduled Pinned Locked Moved Solved Mobile and Embedded
29 Posts 5 Posters 18.0k 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.
  • SGaistS SGaist

    Or use Gradle, in any case updating the NDK to r10e would be a good idea.

    P Offline
    P Offline
    PSI_lbc
    wrote on last edited by
    #20

    @SGaist
    By NDK, do you mean just the NDK or SDK, NDK, Apache, and ADK?

    Thx.

    1 Reply Last reply
    0
    • P Offline
      P Offline
      PSI_lbc
      wrote on last edited by
      #21

      In Creator > Preferences..

      JDK Location:
      /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home

      Not a JDK location.

      I guess The OS upgrade to Sierra did not include a Java update.. Does Qt require the newest Java version as well?

      Just noticed the "Download" icons to the right of the "Devices" screen.. DOH!

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

        NDK, there are more recent version that r10e but there's a bug in the gcc from latest 13 series. See here for more details.

        For the SDK, use the latest.

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

        P 1 Reply Last reply
        0
        • SGaistS SGaist

          NDK, there are more recent version that r10e but there's a bug in the gcc from latest 13 series. See here for more details.

          For the SDK, use the latest.

          P Offline
          P Offline
          PSI_lbc
          wrote on last edited by
          #23

          @SGaist

          OK. I'm a dummy. Where is the latest Android SDK? The Qt link takes you to a page that offers the Android Studio..which I downloaded..but cannot find the SDK.

          Is it hidden in the Android Studio app bundle?

          Current error preventing moving forward..
          Qt Creator needs a compiler set up to build. Configure a compiler in the kit options.

          Suggestions?

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

            Get just the command line tools under the Download part of the Android Studio page.

            The compiler is provided by the ndk so if you pointed it properly it should detect it.

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

            P 1 Reply Last reply
            1
            • SGaistS SGaist

              Get just the command line tools under the Download part of the Android Studio page.

              The compiler is provided by the ndk so if you pointed it properly it should detect it.

              P Offline
              P Offline
              PSI_lbc
              wrote on last edited by
              #25

              @SGaist

              Thx. Deleted the Android Studio bs. Downloaded just the SDK tools..tools_r25.2.3-macosx.zip

              Made sure the path to the tools folder was set. WahLah! Android now builds and deploys to device. Only minor bug was a visual StatusBar “style” issue. Easily fixed.

              Now working on the iOS part of the equation. I have a Apple Developer Account. I have an active License. I’ve created and downloaded the certs and device provisioning profiles. The app builds but does not deploy to a device..signing issues. Xcode knows the cert and provisioning profile exist. Both are valid. I have tried removing the Cert and Provision from the Mac KeyChain and re-downloading both. In Xcode, I have tried Automatic and Manual provisioning..both give the same error when trying to deploy.

              /Users/PSI/Projects/Qt-Mobile/OT2Go/qSpine/build-iphoneos_clang_Qt_5_7_1_for_iOS-Release/Release-iphoneos/qSpine.app:
              invalid resource specification rule(s)

              Command /usr/bin/codesign failed with exit code 1

              ** BUILD FAILED **

              The following build commands failed:
              CodeSign Release-iphoneos/qSpine.app
              (1 failure)
              make: *** [xcodebuild-release-iphoneos] Error 65
              12:59:55: The process "/usr/bin/make" exited with code 2.
              Error while building/deploying project qSpine (kit: iphoneos-clang Qt 5.7.1 for iOS)
              When executing step "Make"
              12:59:55: Elapsed time: 00:46.

              There is an output line in the build:

              SDKROOT = iphoneos10.2

              The 5s iPhone that is the “target device” is running OS 9.2. Could this be the issue? I’m stumped.

              bolded text

              1 Reply Last reply
              0
              • SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote on last edited by
                #26
                ios {
                	QMAKE_XCODE_CODE_SIGN_IDENTITY = "iPhone Developer"
                	MY_DEVELOPMENT_TEAM.name = “PSI_ibc (Personal Team)” <- Replace with appropriate team name
                	MY_DEVELOPMENT_TEAM.value = XXXXXXXXXX <- Replace with team ID that can be found in the membership page on the developer profile.
                	QMAKE_MAC_XCODE_SETTINGS += MY_DEVELOPMENT_TEAM
                }
                

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

                P 1 Reply Last reply
                1
                • SGaistS SGaist
                  ios {
                  	QMAKE_XCODE_CODE_SIGN_IDENTITY = "iPhone Developer"
                  	MY_DEVELOPMENT_TEAM.name = “PSI_ibc (Personal Team)” <- Replace with appropriate team name
                  	MY_DEVELOPMENT_TEAM.value = XXXXXXXXXX <- Replace with team ID that can be found in the membership page on the developer profile.
                  	QMAKE_MAC_XCODE_SETTINGS += MY_DEVELOPMENT_TEAM
                  }
                  
                  P Offline
                  P Offline
                  PSI_lbc
                  wrote on last edited by
                  #27

                  @SGaist

                  Thx.

                  QMAKE_MAC_XCODE_SETTINGS += MY_DEVELOPMENT_TEAM
                  

                  OR..
                  QMAKE_IOS_XCODE_SETTINGS += MY_DEVELOPMENT_TEAM

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

                    I've used it as shown.

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

                    P 1 Reply Last reply
                    0
                    • SGaistS SGaist

                      I've used it as shown.

                      P Offline
                      P Offline
                      PSI_lbc
                      wrote on last edited by
                      #29

                      @SGaist

                      Tried the fix you mentioned. It helped, but I was still getting:
                      error: invalid resource specification rule(s)

                      Searched the Apple forum,,
                      https://forums.developer.apple.com/message/183357#183357

                      Remove CFBundleResourceSpecification key from Info.plist and codesign works

                      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
                      • Unsolved