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

manual tests that use qt_internal_add_manual_test don't run on iOS

    XMLWordPrintable

Details

    • iOS/tvOS/watchOS
    • 6c9f4f5ebc (qt/qtbase/dev) 6c9f4f5ebc (qt/tqtc-qtbase/dev) 0fac2ae499 (qt/qtbase/6.4) 0fac2ae499 (qt/tqtc-qtbase/6.4), efc852b0e (dev), 8296557d8 (6.5.0), 58213e56d (6.5)

    Description

      I suspect we should convert them to be more like examples rather than using qt_internal_add_manual_test.  Anything wrong with that? Manual tests are often like examples anyway, just too immature, unpolished, arcane or otherwise not to be highlighted for users, and yet I think users should be able to run them if they've got the Qt source. Not sure if qt_internal_add_manual_test could be expected to work for them, using a Qt installed from the installer. Regardless of that, I as a Qt developer need to be able to run them on all platforms.

      The usual error currently looks like this:

       

      09:03:34: Running steps for project dialogs...
      09:03:34: Starting: "/usr/local/Cellar/cmake/3.23.2/bin/cmake" --build /Users/rutledge/dev/qt6/qtdeclarative/tests/manual/quickdialogs/build-dialogs-Qt_6_5_0_qt6_ios --target ALL_BUILD --config Debug -- -allowProvisioningUpdates
      2022-07-05 09:03:35.039 xcodebuild[8466:5219053] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionSentinelHostApplications for extension Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
      2022-07-05 09:03:35.040 xcodebuild[8466:5219053] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
      Command line invocation:
          /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -project dialogs.xcodeproj build -target ALL_BUILD -parallelizeTargets -configuration Debug -hideShellScriptEnvironment -allowProvisioningUpdates
      
      User defaults from command line:
          HideShellScriptEnvironment = YES
          IDEPackageSupportUseBuiltinSCM = YES
      
      note: Using new build system
      note: Planning
      Analyze workspace
      
      Create build description
      Build description signature: c5ad5a4bf7cd4c4702e4f6a70f7442ce
      Build description path: /Users/rutledge/dev/qt6/qtdeclarative/tests/manual/quickdialogs/build-dialogs-Qt_6_5_0_qt6_ios/build/XCBuildData/c5ad5a4bf7cd4c4702e4f6a70f7442ce-desc.xcbuild
      
      note: Build preparation complete
      note: Building targets in dependency order
      error: Bundle identifier is missing. dialogs doesn't have a bundle identifier. Add a value for PRODUCT_BUNDLE_IDENTIFIER in the build settings editor. (in target 'dialogs' from project 'dialogs')
      ** BUILD FAILED **
      
      09:03:35: The process "/usr/local/Cellar/cmake/3.23.2/bin/cmake" exited with code 65.
      Error while building/deploying project dialogs (kit: Qt 6.5.0 (qt6-ios))
      When executing step "Build"
      09:03:35: Elapsed time: 00:01.
      

      Attachments

        Issue Links

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

          Activity

            People

              alexandru.croitor Alexandru Croitor
              srutledg Shawn Rutledge
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: