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.
  • _ Offline
    _ Offline
    _ovz
    wrote on last edited by
    #1

    I'm trying to troubleshoot "Project ERROR: Xcode not set up properly." that occurs when I run qmake on a default console project. I have latest XCode 8 GM installed and it builds and runs it's default generated console project fine.

    I did re-install command-line tools and made sure all license agreements are accepted.

    What could be steps to figure out the cause of this?

    Here is the full output from qmake run in QtCreator.

    08:14:13: Running steps for project test_console_2...
    08:14:13: Starting: "/Users/ovz/Qt/5.7/clang_64/bin/qmake" /Users/ovz/tmp/qt/test_console_2/test_console_2.pro -spec macx-clang CONFIG+=debug CONFIG+=x86_64 CONFIG+=qml_debug
    Project ERROR: Xcode not set up properly. You may need to confirm the license agreement by running /usr/bin/xcodebuild.
    08:14:13: The process "/Users/ovz/Qt/5.7/clang_64/bin/qmake" exited with code 3.
    Error while building/deploying project test_console_2 (kit: Desktop Qt 5.7.0 clang 64bit)
    The kit Desktop Qt 5.7.0 clang 64bit has configuration issues which might be the root cause for this problem.
    When executing step "qmake"
    08:14:13: Elapsed time: 00:01.
    
    jsulmJ 1 Reply Last reply
    1
    • shavS Offline
      shavS Offline
      shav
      wrote on last edited by
      #2

      Hi,

      I have the same problem and can't find a way how to resolve it for now! In my case I'm returned to Xcode 7.3. I think after release Xcode 8 all will works fine.

      Mac OS and iOS Developer

      1 Reply Last reply
      0
      • _ _ovz

        I'm trying to troubleshoot "Project ERROR: Xcode not set up properly." that occurs when I run qmake on a default console project. I have latest XCode 8 GM installed and it builds and runs it's default generated console project fine.

        I did re-install command-line tools and made sure all license agreements are accepted.

        What could be steps to figure out the cause of this?

        Here is the full output from qmake run in QtCreator.

        08:14:13: Running steps for project test_console_2...
        08:14:13: Starting: "/Users/ovz/Qt/5.7/clang_64/bin/qmake" /Users/ovz/tmp/qt/test_console_2/test_console_2.pro -spec macx-clang CONFIG+=debug CONFIG+=x86_64 CONFIG+=qml_debug
        Project ERROR: Xcode not set up properly. You may need to confirm the license agreement by running /usr/bin/xcodebuild.
        08:14:13: The process "/Users/ovz/Qt/5.7/clang_64/bin/qmake" exited with code 3.
        Error while building/deploying project test_console_2 (kit: Desktop Qt 5.7.0 clang 64bit)
        The kit Desktop Qt 5.7.0 clang 64bit has configuration issues which might be the root cause for this problem.
        When executing step "qmake"
        08:14:13: Elapsed time: 00:01.
        
        jsulmJ Offline
        jsulmJ Offline
        jsulm
        Lifetime Qt Champion
        wrote on last edited by
        #3

        @_ovz Are there any warnings/errors in the Kit configuration (Tools/Options.../Build & Run/Kits)?

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

        _ 1 Reply Last reply
        1
        • jsulmJ jsulm

          @_ovz Are there any warnings/errors in the Kit configuration (Tools/Options.../Build & Run/Kits)?

          _ Offline
          _ Offline
          _ovz
          wrote on last edited by
          #4

          @jsulm Not really. Just one that CMake tool is not configured.

          1 Reply Last reply
          0
          • G Offline
            G Offline
            gwestlake
            wrote on last edited by
            #5

            There is a similar problem with building Qt itself with Xcode 8. I have the Qt 5.7 source code on my machine with Xcode 8 GM, and I when I run 'configure' I get the same message about needing to agree to the Xcode license. Going through the agree procedure (which is described wrongly in the error message, incidentally) makes no difference.

            1 Reply Last reply
            1
            • G Offline
              G Offline
              gwestlake
              wrote on last edited by
              #6

              Was fixed for 5.6.1:

              https://bugreports.qt.io/browse/QTBUG-55649

              1 Reply Last reply
              3
              • shavS Offline
                shavS Offline
                shav
                wrote on 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

                Julian GuarinJ 1 Reply Last reply
                1
                • shavS Offline
                  shavS Offline
                  shav
                  wrote on 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
                  • shavS shav

                    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

                    Julian GuarinJ Offline
                    Julian GuarinJ Offline
                    Julian Guarin
                    wrote on last edited by
                    #9

                    @shav Thank you! You are a boss.

                    1 Reply Last reply
                    1
                    • SGaistS Offline
                      SGaistS Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on 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

                      shavS 1 Reply Last reply
                      0
                      • SGaistS SGaist

                        @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.

                        shavS Offline
                        shavS Offline
                        shav
                        wrote on 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 last edited by
                          #12

                          So, when will Qt 5.6.1 be released then?

                          shavS 1 Reply Last reply
                          0
                          • RevoltR Revolt

                            So, when will Qt 5.6.1 be released then?

                            shavS Offline
                            shavS Offline
                            shav
                            wrote on 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 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

                              shavS M 2 Replies Last reply
                              0
                              • ekkescornerE ekkescorner

                                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 ...

                                :(

                                shavS Offline
                                shavS Offline
                                shav
                                wrote on 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
                                2
                                • shavS shav

                                  @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 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

                                    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 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
                                    0
                                    • M murdock

                                      @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 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

                                      shavS 1 Reply Last reply
                                      0
                                      • ekkescornerE ekkescorner

                                        @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

                                        shavS Offline
                                        shavS Offline
                                        shav
                                        wrote on 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 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
                                          2

                                          • Login

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