xcodebuild[56491:10396296] [MT] DVTAssertions: Warning in Capabilities Infrastructure/IDECapabilityQuerySelection.swift:103

When building from command line this is printed for every single swift file being compiled

No, I don't appreciate 9000+ lines of spam when building from command line.

I've already reported the issue, but I'm making this posts anyway so others searching for the error will see this.

Xcode 15.1 when?

xcodebuild[56491:10396296] [MT] DVTAssertions: Warning in /System/Volumes/Data/SWE/Apps/DT/BuildRoots/BuildRoot11/ActiveBuildRoot/Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-22267/IDEFoundation/Provisioning/Capabilities Infrastructure/IDECapabilityQuerySelection.swift:103

Details:  createItemModels creation requirements should not create capability item model for a capability item model that already exists.

Function: createItemModels(for:itemModelSource:)

Thread:   <_NSMainThread: 0x600002d10240>{number = 1, name = main}

Please file a bug at https://feedbackassistant.apple.com with this warning message and any useful information you can provide.

same issue for me with failing build dev at the end

PhaseScriptExecution [CP-User]\ Generate\ Specs /Users/alain/Library/Developer/Xcode/DerivedData/myapp-dmqhqctigrrkbzgcowixlemcuyvh/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FBReactNativeSpec.build/Script-46EB2E0002CB20.sh (in target 'FBReactNativeSpec' from project 'Pods'

stuck here since two days :(

I have had this same issue now for two days with mac OS: 14.0 (23A344) and xcode 15.1. Absolute nightmare with fastlane or any automated build scripting

According to this response (https://github.com/mogol/flutter_secure_storage/issues/600#issuecomment-1789775982) adding use_modular_headers! to the beginning of podfile solved this issue for me. (flutter)

Same issue : Details: createItemModels creation requirements should not create capability item model for a capability item model that already exists.

Any update ?

Same here in Github Actions on macOS 13 and Xcode 15

same as others, xcode and flutter

Team I am also facing the same issue in my Azure DevOps Pipeline and the build was failing in that. I am running MacOS Ventura 13.6.1 and Xcode 15.0.1. Did anyone find solutions on this?

I am getting tens of entries for this same warning in the build logs of a Microsoft Azure Pipeline run, for a native SwiftUI XCode 15.0 project, running on Mac OS Sonoma on Mac Book Pro M1 Max machine, this machine is set as the self hosted agent to run the pipeline locally, the weird thing is that xcodebuild command succeeds when I run it in Terminal for the same project on the same machine but fails when it runs through Microsoft Azure's Pipeline.

Here's one entry for the warning i'm getting:

xcodebuild[26662:5421727] [MT] DVTAssertions: Warning in /System/Volumes/Data/SWE/Apps/DT/BuildRoots/BuildRoot11/ActiveBuildRoot/Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-22267/IDEFoundation/Provisioning/Capabilities Infrastructure/IDECapabilityQuerySelection.swift:103
Details:  createItemModels creation requirements should not create capability item model for a capability item model that already exists.
Function: createItemModels(for:itemModelSource:)
Thread:   <_NSMainThread: 0x6000039383c0>{number = 1, name = main}
Please file a bug at https://feedbackassistant.apple.com with this warning message and any useful information you can provide.

Any solutions for this issue will be highly appreciated.

Same for Qt with macos 14.1.1 (23B81), Xcode 15.0.1 on M1

+1

same error

For people using React Native, this solution worked for me today (Building via Xcode and via yarn ios):

In build phases, move Embed Foundation Extensions above the [CP] Embed Pods Frameworks, then run build.

  • Xcode 15
  • Mac M2
  • Ventura 13.6.2

I work on react-native I see that sometimes I get this error immediately in xcode, what I do next I simply rerun xcode and the problem disappear. After a while I need to repeat this. I think it's some xcode issue.

I too am getting the same DVTAssertion error using React Native 0.76.8 when including React-Native-Maps and Google Maps.

_Please file a bug at https://feedbackassistant.apple.com with this warning message and any useful information you can rovide.

2023-12-05 15:21:09.660 xcodebuild[2875:30722] [MT] DVTAssertions: Warning in /System/Volumes/Data/SWE/Apps/DT/BuildRo ts/BuildRoot11/ActiveBuildRoot/Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-22269/IDEFoundation/Pr

visioning/Capabilities Infrastructure/IDECapabilityQuerySelection.swift:103

Details: createItemModels creation requirements should not create capability item model for a capability item model t

at already exists.

Function: createItemModels (for:itemModelSource:)

Thread: <_NSMainThread: 0x600002f642c0>{number = 1, name = main}

_ Using FeedbackAssistant to file a bug...

In the meanwhile, using TimeMachine to backup Mac OS Sonoma 14.2, Xcode 15... then, will revert to Xcode 14 to resolve the XCode simulator issue with React Native 0.76.8

Same error here, running on M3 pro, Sonoma, Xcode 15

xcodebuild[56491:10396296] [MT] DVTAssertions: Warning in Capabilities Infrastructure/IDECapabilityQuerySelection.swift:103
 
 
Q