Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-129343

MacOS 15 and Qt 6.7.2 could not perform CodeSign when building release app for iOS device!

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.7.2
    • Build tools: qmake
    • None
    • macOS 15 + Xcode 16 + Qt 6.7.2 + iPhone with iOS 18 (Release building)
    • iOS/tvOS/watchOS, macOS

    Description

      On MacOS 15 (with Xcode 16) Qt 6.7.2 (QtCreator) can't perform codesign for RELEASE building and deploying iOS apps.

       
      I tried to build and run this project in Xcode, but error is the same.
      If I create and build new project in Xcode, codesign works fine.
      With DEBUG building codesign works fine!

       

      This is release building log from simple one qml window app for iOS:

      <...>

      CodeSign /Users/admin/Desktop/Test2/builds/Test2-Qt_6_7_2_for_iOS-Release/Release-iphoneos/Test2.app (in target 'Test2' from project 'Test2')
          cd /Users/admin/Desktop/Test2/builds/Test2-Qt_6_7_2_for_iOS-Release
          
          Signing Identity:     "Apple Development: xxxxxx xxxxxx (xxxxxxxxx)"
          Provisioning Profile: "iOS Team Provisioning Profile: com.xxxxx.*"
                                (xxxx-xxxx-xxxx-xxx-xxxxxx)

      /usr/bin/codesign --force --sign B5AA7DA1A120A4C4B2611BD224FA5C1F9437A54F --entitlements /Users/admin/Desktop/Test2/builds/Test2-Qt_6_7_2_for_iOS-Release/Test2.build/Release-iphoneos/Test2.build/Test2.app.xcent --timestamp\=none --generate-entitlement-der /Users/admin/Desktop/Test2/builds/Test2-Qt_6_7_2_for_iOS-Release/Release-iphoneos/Test2.app
      /Users/admin/Desktop/Test2/builds/Test2-Qt_6_7_2_for_iOS-Release/Release-iphoneos/Test2.app: resource fork, Finder information, or similar detritus not allowed
      Command CodeSign failed with a nonzero exit code:
      resource fork, Finder information, or similar detritus not allowed
      Command CodeSign failed with a nonzero exit code

      <...>
      The following build commands failed:
      CodeSign /Users/admin/Desktop/Test2/builds/Test2-Qt_6_7_2_for_iOS-Release/Release-iphoneos/Test2.app (in target 'Test2' from project 'Test2')
      (1 failure)
      make: *** [xcodebuild-release-device] Error 65
      The process "/usr/bin/make" exited with code 2.
      Error while building/deploying project Test2 (kit: Qt 6.7.2 for iOS)
      When executing step "Make"
       
       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qtbuildsystem Qt Build System Team
            eug Eugenijus Rom
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes