Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. [iOS] Error 65 during compilation
Forum Updated to NodeBB v4.3 + New Features

[iOS] Error 65 during compilation

Scheduled Pinned Locked Moved Mobile and Embedded
19 Posts 13 Posters 17.0k Views 3 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.
  • K Offline
    K Offline
    kolegs
    wrote on last edited by
    #10

    You need to use XCode anyway to set screen orientation and icon, so it's not a big problem and for now i would recommend it. The way i see it it just works there.

    1 Reply Last reply
    0
    • C Offline
      C Offline
      costab
      wrote on last edited by
      #11

      ok, when you open an example you need to do a few things:

      • click on an ios tag. This adds tag:"ios" the search box and only ios compatible apps will be visible.

      • select Qt 5.2.0 for iOS in the drop-down list that follows the search box (it's on the far right side and very easy to miss)

      • go to Projects and select iphoneos or iphonesimulator

      The build works and you can run the app in the simulator and on the device. It worked for me.

      1 Reply Last reply
      0
      • E Offline
        E Offline
        elsdrm
        wrote on last edited by
        #12

        I got the similar problem.
        It sometimes came out Error 65 but sometimes went error-free. Could anyone tell me what's up with the mystery? Is there any information about Error 65?

        1 Reply Last reply
        0
        • X Offline
          X Offline
          Xander84
          wrote on last edited by
          #13

          I also get the mysterious "Error 65", trying to compile in Xcode I get a linker error: "Apple Mach-O Linker Error": Undefined symbols for architecture i386:
          "std::ios_base::Init::Init()", referenced from:
          ___cxx_global_var_init in libQt5Qml_iphonesimulator_debug.a(qqmlbundle.o)
          ___cxx_global_var_init in libQt5Qml_iphonesimulator_debug.a(qv4regexpobject.o)
          ___cxx_global_var_init in libQt5Qml_iphonesimulator_debug.a(qv4object.o)
          ___cxx_global_var_init in libQt5Qml_iphonesimulator_debug.a(qv4globalobject.o)
          ___cxx_global_var_init in libQt5Qml_iphonesimulator_debug.a(qv4functionobject.o)
          ___cxx_global_var_init in libQt5Qml_iphonesimulator_debug.a(qv4mm.o)
          ___cxx_global_var_init in libQt5Qml_iphonesimulator_debug.a(qv4debugging.o)
          ..

          and some other linker error, did anyone figure that oout yet? it works for with a hello world QML project and my project works on Mac OS, but not iOS, weird.

          1 Reply Last reply
          0
          • E Offline
            E Offline
            eulers_child
            wrote on last edited by
            #14

            And I have the same problem. Most of all examples are built and run successfully for simulator, but when I am trying to build them for device it falls with same:

            === BUILD TARGET validators OF PROJECT validators WITH CONFIGURATION Release ===
            Check dependencies
            Code Sign error: No matching provisioning profiles found: No provisioning profiles with a valid signing identity (i.e. certificate and private key pair) were found.
            CodeSign error: code signing is required for product type 'Application' in SDK 'iOS 7.0'
            make[1]: *** [iphoneos-release] Error 65
            make: *** [release-iphoneos] Error 2
            17:40:19: The process "/usr/bin/make" exited with code 2.
            Error while building/deploying project validators (kit: iphoneos-clang Qt 5.2.1 for iOS)
            When executing step 'Make'

            Creating XCode project and attempt to build it ends with:
            make: addressbook.xcodeproj/qt_makeqmake.mak: No such file or directory
            make: *** No rule to make target `addressbook.xcodeproj/qt_makeqmake.mak'.

            1 Reply Last reply
            0
            • X Offline
              X Offline
              Xander84
              wrote on last edited by
              #15

              hey guys, found a simple solution today, at least for my debug error 65 problem above.

              the project was linked against the wrong c++ STD lib :o
              I don't know why Qt Creator is trying to link against the wrong lib, but here is the fix I used:

              • open the project with XCode
              • go to build settings
              • select "all" and search for the linker options
              • under "Other Linker Flags" change "-stdlib=libc++" to "-stdlib=libstdc++"

              yeah that is all, a rebuild should work now. :)

              note: I think the libstdc++ lib is the GNU version, don't knwo why the other isn't working maybe becaus ethe Qt libs are linked against libstdc++ and not libc++.

              1 Reply Last reply
              0
              • P Offline
                P Offline
                PSI-lbc
                wrote on last edited by
                #16

                Bringing this back up.

                This fix worked in release 5.3 but no longer works in 5.4

                Is there a more current fix or work-around?

                1 Reply Last reply
                0
                • P Offline
                  P Offline
                  PSI-lbc
                  wrote on last edited by
                  #17

                  Bringing this back up.

                  This fix worked in release 5.3 but no longer works in 5.4

                  Is there a more current fix or work-around?

                  1 Reply Last reply
                  0
                  • A Offline
                    A Offline
                    AlterX
                    wrote on last edited by
                    #18

                    Problem still here...Qt 5.9 RC!!!!

                    No signing certificate "iOS Development" found: No "iOS Development" signing certificate matching team ID "xxxxxxxxxx" with a private key was found.
                    Code signing is required for product type 'Application' in SDK 'iOS 10.2'

                    Qt Ambassador
                    Real-time cooperative teams: http://www.softairrealfight.net
                    Free Real-time network platform sdk: https://github.com/AlterX76/Solomon

                    https://codereview.qt-project.org/...

                    ekkescornerE 1 Reply Last reply
                    0
                    • A AlterX

                      Problem still here...Qt 5.9 RC!!!!

                      No signing certificate "iOS Development" found: No "iOS Development" signing certificate matching team ID "xxxxxxxxxx" with a private key was found.
                      Code signing is required for product type 'Application' in SDK 'iOS 10.2'

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

                      @AlterX
                      up to Qt 5.8 something like this will work inside .pro:

                      ios {
                      .....
                      QMAKE_XCODE_CODE_SIGN_IDENTITY = "iPhone Developer"
                      MY_DEVELOPMENT_TEAM.name = DEVELOPMENT_TEAM
                      MY_DEVELOPMENT_TEAM.value = CDXXXXXX2B
                      QMAKE_MAC_XCODE_SETTINGS += MY_DEVELOPMENT_TEAM
                      .....
                      }
                      

                      see see https://bugreports.qt.io/browse/QTCREATORBUG-16968
                      (take a look at all comments)

                      the good news: Qt 5.9 and QtCreator 4.3 will make your life easier:
                      http://blog.qt.io/blog/2017/05/24/qt-creator-4-3-0-released/

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

                      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