Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. "Project ERROR: Xcode not set up properly."

"Project ERROR: Xcode not set up properly."

Scheduled Pinned Locked Moved Unsolved General and Desktop
38 Posts 14 Posters 40.7k Views
  • 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.
  • S Online
    S Online
    shav
    wrote on 13 Sept 2016, 19:35 last edited by
    #7

    Hi everyone!

    Today, I'm updated my Xcode from 7.3.x to the last Xcode 8. As you know new Xcode doesn't work with Qt correct. And I found the solution for this problem. Please check this link for more information. For me the fix look like:

    1. Move to the folder where you install Qt.

    2. Open in the any text editor file from Qt_install_folder/5.7/clang_64/mkspecs/features/mac/default_pre.prf

    3. Fins the line with text:

      isEmpty($$list($$system("/usr/bin/xcrun -find xcrun 2>/dev/null")))): \

    4. Replace line to:

      isEmpty($$list($$system("/usr/bin/xcrun -find xcodebuild 2>/dev/null"))): \

    5. Save changes and reload QtCreator.

    6. Open your project in QtCreator now all must works fine.

    This help for me.
    My system is: OS X 10.11 (Ql Capitan), Xcode 8 (8A218a), Qt 5.7, QtCreator 4.1.0

    Mac OS and iOS Developer

    J 1 Reply Last reply 14 Sept 2016, 18:02
    1
    • S Online
      S Online
      shav
      wrote on 14 Sept 2016, 08:46 last edited by
      #8

      Small update for iOS and Xcode 8. For iOS you need also change the file:

      isEmpty($$list($$system("/usr/bin/xcrun -find xcrun 2>/dev/null")))): \
      

      to

      isEmpty($$list($$system("/usr/bin/xcrun -find xcodebuild 2>/dev/null"))): \
      

      But after this changes you will see this message:

      Project ERROR: Current iphoneos SDK version (10.0) is too old. Please upgrade Xcode.
      [Inexact] Project ERROR: Current iphoneos SDK version (10.0) is too old. Please upgrade Xcode.
      [Inexact] Project ERROR: Current iphoneos SDK version (10.0) is too old. Please upgrade Xcode.
      [Inexact] Project ERROR: Current iphoneos SDK version (10.0) is too old. Please upgrade Xcode.
      

      I'm found in "<Qt_install_folder>/5.7/ios/mkspecs/macx-ios-clang/features/sdk.prf" line:

      lessThan($$QMAKE_MAC_SDK_VERSION, "8.0"): \
      

      If I change this line to:

      lessThan($$QMAKE_MAC_SDK_VERSION, "10.0"): \
      

      All works fine but QtCreator can't find any iOS simulator so I can't build application to the simulator.

      If someone know how to fix this issue let me know. Still research information for solve the problem with simulators for QtCreator.

      Mac OS and iOS Developer

      1 Reply Last reply
      2
      • S shav
        13 Sept 2016, 19:35

        Hi everyone!

        Today, I'm updated my Xcode from 7.3.x to the last Xcode 8. As you know new Xcode doesn't work with Qt correct. And I found the solution for this problem. Please check this link for more information. For me the fix look like:

        1. Move to the folder where you install Qt.

        2. Open in the any text editor file from Qt_install_folder/5.7/clang_64/mkspecs/features/mac/default_pre.prf

        3. Fins the line with text:

          isEmpty($$list($$system("/usr/bin/xcrun -find xcrun 2>/dev/null")))): \

        4. Replace line to:

          isEmpty($$list($$system("/usr/bin/xcrun -find xcodebuild 2>/dev/null"))): \

        5. Save changes and reload QtCreator.

        6. Open your project in QtCreator now all must works fine.

        This help for me.
        My system is: OS X 10.11 (Ql Capitan), Xcode 8 (8A218a), Qt 5.7, QtCreator 4.1.0

        J Offline
        J Offline
        Julian Guarin
        wrote on 14 Sept 2016, 18:02 last edited by
        #9

        @shav Thank you! You are a boss.

        1 Reply Last reply
        1
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 14 Sept 2016, 21:08 last edited by
          #10

          @shav What do you have in your device list from Xcode ?

          One thing you can try is to open the simulator by doing an Alt + Click on the Xcode icon and open the simulator from the Developer Tool menu. It should start an iOS 10 simulator.

          Hope it helps.

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

          S 1 Reply Last reply 14 Sept 2016, 21:49
          0
          • S SGaist
            14 Sept 2016, 21:08

            @shav What do you have in your device list from Xcode ?

            One thing you can try is to open the simulator by doing an Alt + Click on the Xcode icon and open the simulator from the Developer Tool menu. It should start an iOS 10 simulator.

            Hope it helps.

            S Online
            S Online
            shav
            wrote on 14 Sept 2016, 21:49 last edited by shav
            #11

            @SGaist I'm wrote a video from my project. Please watch it and you understand what I mean can't build my project to iOS Simulator OS Simulator".

            Also I receive this error:

            perl: warning: Setting locale failed.
            perl: warning: Please check that your locale settings:
            	LC_ALL = (unset),
            	LC_MESSAGES = "en_US.utf8",
            	LANG = (unset)
                are supported and installed on your system.
            perl: warning: Falling back to the standard locale ("C").
            xcodebuild build -scheme IOSSample  -sdk iphonesimulator  -configuration Debug  -destination "id=12.9 inch" -destination-timeout 1
            Build settings from command line:
                SDKROOT = iphonesimulator10.0
            
            2016-09-15 00:41:39.693 xcodebuild[2154:4052566] warning:  The file reference for "/Volumes/HPDD/MyWork/PROJECTS/QtProjects/GIT/Nestlean/qt/NestleanSDK/NestleanProject/IOSSample/qml.qrc" is a member of multiple groups ("Supporting Files" and "Resources"); this indicates a malformed project.  Only the membership in one of the groups will be preserved (but membership in targets will be unaffected).  If you want a reference to the same file in more than one group, please add another reference to the same path.
            xcodebuild: error: Unable to find a destination matching the provided destination specifier:
            		{ id:12.9 inch }
            
            	Unsupported device specifier option.
            	The device “My Mac” does not support the following options: id
            	Please supply only supported device specifier options.
            
            	Available destinations for the "IOSSample" scheme:
            		{ platform:iOS Simulator, id:1DEEDBE7-8C4A-46E7-BD7C-579F1D8A6A74, OS:8.4, name:iPad 2 }
            		{ platform:iOS Simulator, id:38E2C4BB-7F21-437F-9897-0492E508A0D9, OS:9.3, name:iPad 2 }
            		{ platform:iOS Simulator, id:84B31BED-1528-41C8-A355-86D3C359D98E, OS:8.4, name:iPad Air }
            		{ platform:iOS Simulator, id:3749EC4B-347B-458A-9ED6-C877FFB56107, OS:9.3, name:iPad Air }
            		{ platform:iOS Simulator, id:D4AD4398-D3C1-4D9C-9D0D-8D4CC66CCE7E, OS:10.0, name:iPad Air }
            		{ platform:iOS Simulator, id:1C37FEC7-6D0E-4001-B736-3067BEDC3CC7, OS:9.3, name:iPad Air 2 }
            		{ platform:iOS Simulator, id:FC4158CB-CFAC-459A-863A-EEDDD6519DED, OS:10.0, name:iPad Air 2 }
            		{ platform:iOS Simulator, id:4E4C817B-F7D2-4503-946D-6B57ECCCE949, OS:9.3, name:iPad Pro }
            		{ platform:iOS Simulator, id:2A40BA08-DA0D-4375-948C-EFC5CA8CCF89, OS:10.0, name:iPad Pro (9.7 inch) }
            		{ platform:iOS Simulator, id:A97891D7-1C4A-42F1-A17D-CD2E29960020, OS:10.0, name:iPad Pro (12.9 inch) }
            		{ platform:iOS Simulator, id:7318AE3F-D721-44A9-B2E5-53CB175F6E0F, OS:8.4, name:iPad Retina }
            		{ platform:iOS Simulator, id:4F74C1A5-1C72-4882-AE2B-CEFA8C8E2E3D, OS:9.3, name:iPad Retina }
            		{ platform:iOS Simulator, id:45CC88C7-8C00-47B9-9ED0-DB335FBCD5C8, OS:10.0, name:iPad Retina }
            		{ platform:iOS Simulator, id:8FE36C70-1221-40E6-A9DB-F13E06828BF5, OS:8.4, name:iPhone 4s }
            		{ platform:iOS Simulator, id:74DF68B8-4B17-40D8-80FD-6C068232B618, OS:9.3, name:iPhone 4s }
            		{ platform:iOS Simulator, id:64B7D1FF-3F85-4B3B-AA77-11EC26BA0EF3, OS:8.4, name:iPhone 5 }
            		{ platform:iOS Simulator, id:0C2098B3-6181-406D-BF94-3893207F0AD3, OS:9.3, name:iPhone 5 }
            		{ platform:iOS Simulator, id:DFC53616-735F-4E9D-AA00-A7C9EB4CD915, OS:10.0, name:iPhone 5 }
            		{ platform:iOS Simulator, id:E3CF6794-E68D-4A80-A97A-57D5C84463EB, OS:8.4, name:iPhone 5s }
            		{ platform:iOS Simulator, id:C0D485A8-4B2C-46E6-BEC2-7BAA6462EAFB, OS:9.3, name:iPhone 5s }
            		{ platform:iOS Simulator, id:8EAF5E2B-B377-4D22-86BB-B82155E2232E, OS:10.0, name:iPhone 5s }
            		{ platform:iOS Simulator, id:4629ECAA-C567-4A3B-A5B5-DEE6B868BBCA, OS:8.4, name:iPhone 6 }
            		{ platform:iOS Simulator, id:765EE510-D5F1-4A1D-A809-30A884CD50D2, OS:9.3, name:iPhone 6 }
            		{ platform:iOS Simulator, id:5894F92E-2B1C-4254-AA1A-7E21F3633FA6, OS:10.0, name:iPhone 6 }
            		{ platform:iOS Simulator, id:EB74A8C1-575A-4552-95E1-0F507994EB84, OS:8.4, name:iPhone 6 Plus }
            		{ platform:iOS Simulator, id:EF345896-969D-4CC9-BCD5-5185397440BB, OS:9.3, name:iPhone 6 Plus }
            		{ platform:iOS Simulator, id:FF77F399-C630-47E4-9973-CEA20183DCE6, OS:10.0, name:iPhone 6 Plus }
            		{ platform:iOS Simulator, id:3633BA21-BAB4-42B1-B9B2-517CD5DAFC21, OS:9.3, name:iPhone 6s }
            		{ platform:iOS Simulator, id:FF0F8BD9-0606-4807-9F9B-1C73F77D3007, OS:10.0, name:iPhone 6s }
            		{ platform:iOS Simulator, id:D8B672C4-A401-4349-9BE2-19D49C2A4305, OS:9.3, name:iPhone 6s Plus }
            		{ platform:iOS Simulator, id:789CCF8F-4DF8-400A-9BC0-7EB189C71C7D, OS:10.0, name:iPhone 6s Plus }
            		{ platform:iOS Simulator, id:87898CEA-38BC-460A-A70F-7C7C208FDADD, OS:10.0, name:iPhone 7 }
            		{ platform:iOS Simulator, id:51AFE06F-8FEB-4EF9-850C-F99834DC4B09, OS:10.0, name:iPhone 7 Plus }
            		{ platform:iOS Simulator, id:1B99C4E6-E053-4D97-B79A-D09B2F68E438, OS:10.0, name:iPhone SE }
            
            	Ineligible destinations for the "IOSSample" scheme:
            		{ platform:iOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-iphonesimulator:placeholder, name:Generic iOS Simulator Device }
            make[1]: *** [xcodebuild-debug-iphonesimulator] Error 70
            make: *** [sub-IOSSample-make_first] Error 2
            00:41:42: The process "/usr/bin/make" exited with code 2.
            Error while building/deploying project NestleanProject (kit: iphonesimulator-clang Qt 5.7.0 for iOS)
            The kit iphonesimulator-clang Qt 5.7.0 for iOS has configuration issues which might be the root cause for this problem.
            When executing step "Make"
            

            I'm not sure what is wrong with it. Maybe you can help me to solve this problem.

            P.S. Sorry for the long video and I don't know how to post video in this forum, so I share the link to video.

            Mac OS and iOS Developer

            1 Reply Last reply
            0
            • RevoltR Offline
              RevoltR Offline
              Revolt
              wrote on 16 Sept 2016, 07:03 last edited by
              #12

              So, when will Qt 5.6.1 be released then?

              S 1 Reply Last reply 16 Sept 2016, 09:30
              0
              • RevoltR Revolt
                16 Sept 2016, 07:03

                So, when will Qt 5.6.1 be released then?

                S Online
                S Online
                shav
                wrote on 16 Sept 2016, 09:30 last edited by
                #13

                @Revolt All information about release for Qt 5.6 you can find here.

                Mac OS and iOS Developer

                1 Reply Last reply
                1
                • ekkescornerE Offline
                  ekkescornerE Offline
                  ekkescorner
                  Qt Champions 2016
                  wrote on 18 Sept 2016, 14:01 last edited by ekkescorner
                  #14

                  today run into this problem

                  did it all

                  changed
                  ```

                  isEmpty($$list($$system("/usr/bin/xcrun -find xcodebuild 2>/dev/null"))): \
                      error("Xcode not set up properly. You may need to confirm the license agreement by running /usr/bin/xcodebuild.")
                  

                  }

                  also from http://stackoverflow.com/questions/33728905/qt-creator-project-error-xcode-not-set-up-properly-you-may-need-to-confirm-t

                  did

                  sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer
                  

                  confirmed license agreement

                  xcodebuild -license
                  

                  still getting errors while building for iOS
                  XCode 8, OS 10.11.6

                  Project ERROR: Xcode not set up properly. You may need to confirm the license agreement by running /usr/bin/xcodebuild.
                  15:47:05: The process "/daten/_qt_sdks/sdk_570/5.7/ios/bin/qmake" exited with code 3.
                  Error while building/deploying project ...

                  :(

                  ekke ... Qt Champion 2016 | 2024 ... mobile business apps
                  5.15 --> 6.8 https://t1p.de/ekkeChecklist
                  QMake --> CMake https://t1p.de/ekkeCMakeMobileApps

                  S M 2 Replies Last reply 18 Sept 2016, 14:26
                  0
                  • ekkescornerE ekkescorner
                    18 Sept 2016, 14:01

                    today run into this problem

                    did it all

                    changed
                    ```

                    isEmpty($$list($$system("/usr/bin/xcrun -find xcodebuild 2>/dev/null"))): \
                        error("Xcode not set up properly. You may need to confirm the license agreement by running /usr/bin/xcodebuild.")
                    

                    }

                    also from http://stackoverflow.com/questions/33728905/qt-creator-project-error-xcode-not-set-up-properly-you-may-need-to-confirm-t

                    did

                    sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer
                    

                    confirmed license agreement

                    xcodebuild -license
                    

                    still getting errors while building for iOS
                    XCode 8, OS 10.11.6

                    Project ERROR: Xcode not set up properly. You may need to confirm the license agreement by running /usr/bin/xcodebuild.
                    15:47:05: The process "/daten/_qt_sdks/sdk_570/5.7/ios/bin/qmake" exited with code 3.
                    Error while building/deploying project ...

                    :(

                    S Online
                    S Online
                    shav
                    wrote on 18 Sept 2016, 14:26 last edited by
                    #15

                    @ekkescorner Hi, I'm uploaded video where you can see how I fix this problem. On video you can see OS X 10.12 but this also works on OS X 10.11. Please watch video and if you have any questions let me know.

                    Mac OS and iOS Developer

                    ekkescornerE S 2 Replies Last reply 18 Sept 2016, 15:08
                    2
                    • S shav
                      18 Sept 2016, 14:26

                      @ekkescorner Hi, I'm uploaded video where you can see how I fix this problem. On video you can see OS X 10.12 but this also works on OS X 10.11. Please watch video and if you have any questions let me know.

                      ekkescornerE Offline
                      ekkescornerE Offline
                      ekkescorner
                      Qt Champions 2016
                      wrote on 18 Sept 2016, 15:08 last edited by
                      #16

                      @shav thx - but I already did all these steps
                      verified twice ;-)

                      now downloaded Xcode 7.3.1 besides Xcode 8
                      select switch Xcode to 7.3.1

                      and I can work on

                      ekke ... Qt Champion 2016 | 2024 ... mobile business apps
                      5.15 --> 6.8 https://t1p.de/ekkeChecklist
                      QMake --> CMake https://t1p.de/ekkeCMakeMobileApps

                      1 Reply Last reply
                      0
                      • ekkescornerE ekkescorner
                        18 Sept 2016, 14:01

                        today run into this problem

                        did it all

                        changed
                        ```

                        isEmpty($$list($$system("/usr/bin/xcrun -find xcodebuild 2>/dev/null"))): \
                            error("Xcode not set up properly. You may need to confirm the license agreement by running /usr/bin/xcodebuild.")
                        

                        }

                        also from http://stackoverflow.com/questions/33728905/qt-creator-project-error-xcode-not-set-up-properly-you-may-need-to-confirm-t

                        did

                        sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer
                        

                        confirmed license agreement

                        xcodebuild -license
                        

                        still getting errors while building for iOS
                        XCode 8, OS 10.11.6

                        Project ERROR: Xcode not set up properly. You may need to confirm the license agreement by running /usr/bin/xcodebuild.
                        15:47:05: The process "/daten/_qt_sdks/sdk_570/5.7/ios/bin/qmake" exited with code 3.
                        Error while building/deploying project ...

                        :(

                        M Offline
                        M Offline
                        murdock
                        wrote on 22 Sept 2016, 08:13 last edited by
                        #17

                        @ekkescorner
                        Move to the Qt install library and got to the Qt_install_folder/5.7/ios/mkspecs/features/mac/default_pre.prf (!!!iOS not clang) and find the line
                        isEmpty($$list($$system("/usr/bin/xcrun -find xcrun 2>/dev/null")))):
                        and replace:
                        isEmpty($$list($$system("/usr/bin/xcrun -find xcodebuild 2>/dev/null"))):
                        save the changes and reload the QtCreator and enjoy :)

                        ekkescornerE 1 Reply Last reply 22 Sept 2016, 11:09
                        0
                        • M murdock
                          22 Sept 2016, 08:13

                          @ekkescorner
                          Move to the Qt install library and got to the Qt_install_folder/5.7/ios/mkspecs/features/mac/default_pre.prf (!!!iOS not clang) and find the line
                          isEmpty($$list($$system("/usr/bin/xcrun -find xcrun 2>/dev/null")))):
                          and replace:
                          isEmpty($$list($$system("/usr/bin/xcrun -find xcodebuild 2>/dev/null"))):
                          save the changes and reload the QtCreator and enjoy :)

                          ekkescornerE Offline
                          ekkescornerE Offline
                          ekkescorner
                          Qt Champions 2016
                          wrote on 22 Sept 2016, 11:09 last edited by
                          #18

                          @murdock thanks. this was the trick: I did it in clang - not ios

                          Now the Xcodeproject was built with Xcode 8 :)

                          But now another error:

                          Signing for "xxx" requires a development team. Select a development team in the project editor.
                          Code signing is required for product type 'Application' in SDK 'iOS 10.0'
                          
                          make: *** [xcodebuild-debug-iphoneos] Error 65
                          12:55:52: The process "/usr/bin/make" exited with code 2.
                          Error while building/deploying project xxx (kit: iphoneos-clang Qt 5.7.0 (ios))
                          

                          I can open Xcode 8, select the Team and run the App on Device
                          Do I have to set somethin in Xcode 8 ?

                          thx helping

                          ekke ... Qt Champion 2016 | 2024 ... mobile business apps
                          5.15 --> 6.8 https://t1p.de/ekkeChecklist
                          QMake --> CMake https://t1p.de/ekkeCMakeMobileApps

                          S 1 Reply Last reply 22 Sept 2016, 16:25
                          0
                          • ekkescornerE ekkescorner
                            22 Sept 2016, 11:09

                            @murdock thanks. this was the trick: I did it in clang - not ios

                            Now the Xcodeproject was built with Xcode 8 :)

                            But now another error:

                            Signing for "xxx" requires a development team. Select a development team in the project editor.
                            Code signing is required for product type 'Application' in SDK 'iOS 10.0'
                            
                            make: *** [xcodebuild-debug-iphoneos] Error 65
                            12:55:52: The process "/usr/bin/make" exited with code 2.
                            Error while building/deploying project xxx (kit: iphoneos-clang Qt 5.7.0 (ios))
                            

                            I can open Xcode 8, select the Team and run the App on Device
                            Do I have to set somethin in Xcode 8 ?

                            thx helping

                            S Online
                            S Online
                            shav
                            wrote on 22 Sept 2016, 16:25 last edited by
                            #19

                            @ekkescorner Do you have Apple Developer Program for you Apple ID? It's looks like you don't have it or you mac is not configuring for your developer program.

                            You can check it in Xcode.

                            1. Open Xcode
                            2. Open Xcode preference (Top Menu -> Xcode -> Preference) or CMD + , (comma).
                            3. In Preference window find "Account" tab
                            4. Check if you have any Apple ID accounts on the left list. If you don't have it in list you can add it.
                              4.1. On the bottom you will find the "+" button. Click to it and select Apple ID.
                              4.2. Enter your apple Id and password and click save.
                              4.3. Now you will see your new apple id in the list.
                            5. Select you new apple id from list.
                            6. On the center of the window you will see list of developers program for your apple id.
                            7. Select one from them and click "view" button.
                            8. Check the certificates they must be installed.
                              8.1. If you don't installed certificates click to the button near the name of certificates.
                              8.2. After you install certificates you need to create developer provision profiles.
                              8.3. Downloads all need provision profiles.
                            9. If you have all certificates please check provision profiles for your project.
                              9.1. Find Info.plist of your project. It's must be in build folder for your project.
                              9.2. Open info.plist and copy bundle id for your project
                              9.3. Open Apple Developer Manager website and select section "Certificates, Provisions"
                              9.4. Select applications list and search application with you bundle id.
                              9.5. If you don't have this application with bundle id please create it.
                              9.6. Open section Provisions and create provision profile for you new application.
                              9.7. Download and install your new provision profile.
                            10. Try rebuild your project. Now you must build it correct.

                            Also you can use Xcode for build your project. In Xcode you must select team:

                            1. Open your project in Xcode
                            2. Select project file in the left list.
                            3. Open general section.
                            4. Select your team form the list for Debug build and Release build.
                            5. Build you project.

                            Hope the will help for you.

                            Mac OS and iOS Developer

                            1 Reply Last reply
                            1
                            • ekkescornerE Offline
                              ekkescornerE Offline
                              ekkescorner
                              Qt Champions 2016
                              wrote on 22 Sept 2016, 18:39 last edited by ekkescorner
                              #20

                              I have no problem to sign and build my project from Xcode 8
                              problem is building the project from QtCreator:

                              this works well for Xcode 7.3 but from Xcode 8.0 something changed with signature and so the build process from QtCreator creates thge Xcode project and then fails with

                              Signing for "xxx" requires a development team. Select a development team in the project editor.
                              Code signing is required for product type 'Application' in SDK 'iOS 10.0'
                              
                              make: *** [xcodebuild-debug-iphoneos] Error 65
                              12:55:52: The process "/usr/bin/make" exited with code 2.
                              

                              Opening the xcodeproject there's no development team selected. I can select and build / run on iPhone from inside Xcode 8.

                              The run-on-device is broken now. switching back to Xcode 7.3 it works well

                              Doing a google search for

                              requires a development team. Select a development team in the project editor.
                              Code signing is required for product type 'Application' in SDK 'iOS 10.0'
                              

                              you'll see that many other projects doiung builds with Xcode are broken with Xcode 8

                              looking forward to a solution.

                              ekke ... Qt Champion 2016 | 2024 ... mobile business apps
                              5.15 --> 6.8 https://t1p.de/ekkeChecklist
                              QMake --> CMake https://t1p.de/ekkeCMakeMobileApps

                              KostasK 1 Reply Last reply 28 Sept 2016, 10:27
                              2
                              • ekkescornerE ekkescorner
                                22 Sept 2016, 18:39

                                I have no problem to sign and build my project from Xcode 8
                                problem is building the project from QtCreator:

                                this works well for Xcode 7.3 but from Xcode 8.0 something changed with signature and so the build process from QtCreator creates thge Xcode project and then fails with

                                Signing for "xxx" requires a development team. Select a development team in the project editor.
                                Code signing is required for product type 'Application' in SDK 'iOS 10.0'
                                
                                make: *** [xcodebuild-debug-iphoneos] Error 65
                                12:55:52: The process "/usr/bin/make" exited with code 2.
                                

                                Opening the xcodeproject there's no development team selected. I can select and build / run on iPhone from inside Xcode 8.

                                The run-on-device is broken now. switching back to Xcode 7.3 it works well

                                Doing a google search for

                                requires a development team. Select a development team in the project editor.
                                Code signing is required for product type 'Application' in SDK 'iOS 10.0'
                                

                                you'll see that many other projects doiung builds with Xcode are broken with Xcode 8

                                looking forward to a solution.

                                KostasK Offline
                                KostasK Offline
                                Kostas
                                wrote on 28 Sept 2016, 10:27 last edited by Kostas
                                #21

                                @ekkescorner
                                I'm having exactly the same code signing problem. With Xcode 7.3 I can compile my project using QtCreator but with Xcode 8 it doesn't work. I can only compile using Xcode which makes the whole process a lot more complicated since I need both QtCreator (to write my code) and Xcode running at the same time.

                                This might seem like a small rpoblem but it is very time consuming. Please, we need a fix for this quickly !

                                1 Reply Last reply
                                0
                                • S Offline
                                  S Offline
                                  SGaist
                                  Lifetime Qt Champion
                                  wrote on 28 Sept 2016, 19:39 last edited by
                                  #22

                                  @Kostas Hi, the forum is not the right place to ask for fixes. You should rather take a look at the bug report system to see if it's something known. If not, please consider opening a new report.

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

                                  KostasK 1 Reply Last reply 28 Sept 2016, 19:55
                                  1
                                  • S SGaist
                                    28 Sept 2016, 19:39

                                    @Kostas Hi, the forum is not the right place to ask for fixes. You should rather take a look at the bug report system to see if it's something known. If not, please consider opening a new report.

                                    KostasK Offline
                                    KostasK Offline
                                    Kostas
                                    wrote on 28 Sept 2016, 19:55 last edited by
                                    #23

                                    @SGaist Opened a bug report : https://bugreports.qt.io/browse/QTCREATORBUG-16968

                                    1 Reply Last reply
                                    0
                                    • S Offline
                                      S Offline
                                      SGaist
                                      Lifetime Qt Champion
                                      wrote on 28 Sept 2016, 20:00 last edited by
                                      #24

                                      Thanks !

                                      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
                                      1
                                      • S shav
                                        18 Sept 2016, 14:26

                                        @ekkescorner Hi, I'm uploaded video where you can see how I fix this problem. On video you can see OS X 10.12 but this also works on OS X 10.11. Please watch video and if you have any questions let me know.

                                        S Offline
                                        S Offline
                                        Sioki07
                                        wrote on 19 Oct 2016, 08:52 last edited by
                                        #25

                                        @shav thank you so much,Perfekt Video!! Finally its work.

                                        1 Reply Last reply
                                        0
                                        • _ Offline
                                          _ Offline
                                          _ovz
                                          wrote on 28 Oct 2016, 09:11 last edited by
                                          #26

                                          Hi All,

                                          XCode 8.1 got published yesterday. Does anyone has new information on compatibility with Qt?

                                          T ekkescornerE 2 Replies Last reply 28 Oct 2016, 11:48
                                          0

                                          • Login

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