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.

Getting the same issue trying to build a project in Github Actions on macOS 13 and Xcode 15.

same here on macOS 14 and Xcode 15.

my boss is going to fire me if I can't solve it 🫠 .Same here macOS 14.0 Xcode 15

Same issue here :(

Same issue here MacOS 14.0, XCode 15

I got a bunch of these warnings when building a React Native project on a GitHub-hosted Mac runner with macOS 13 and Xcode 15.0.1, but it did eventually succeed (total job time was 25 minutes). Not sure if the number of Swift files affects the outcome, but it's possible.

Launching lib/main.dart on macOS in debug mode... --- xcodebuild: WARNING: Using the first of multiple matching destinations: { platform:macOS, arch:arm64, id:00006001-001408142EFA401E } { platform:macOS, arch:x86_64, id:00006001-001408142EFA401E } 2023-10-25 08:08:22.192 xcodebuild[54785:202041] [MT] DVTAssertions: Warning in /System/Volumes/Data/SWE/Apps/DT/BuildRoots/BuildRoot11/ActiveBuildRoot/Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-22269/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: 0x13260bcb0>{number = 1, name = main} Please file a bug at https://feedbackassistant.apple.com with this warning message and any useful information you can provide. 2023-10-25 08:08:22.192 xcodebuild[54785:202041] [MT] DVTAssertions: Warning in /System/Volumes/Data/SWE/Apps/DT/BuildRoots/BuildRoot11/ActiveBuildRoot/Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-22269/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: 0x13260bcb0>{number = 1, name = main} Please file a bug at https://feedbackassistant.apple.com with this warning message and any useful information you can provide. 2023-10-25 08:08:22.192 xcodebuild[54785:202041] [MT] DVTAssertions: Warning in /System/Volumes/Data/SWE/Apps/DT/BuildRoots/BuildRoot11/ActiveBuildRoot/Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-22269/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: 0x13260bcb0>{number = 1, name = main} Please file a bug at https://feedbackassistant.apple.com with this warning message and any useful information you can provide. 2023-10-25 08:08:22.192 xcodebuild[54785:202041] [MT] DVTAssertions: Warning in /System/Volumes/Data/SWE/Apps/DT/BuildRoots/BuildRoot11/ActiveBuildRoot/Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-22269/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: 0x13260bcb0>{number = 1, name = main} Please file a bug at https://feedbackassistant.apple.com with this warning message and any useful information you can provide. 2023-10-25 08:08:22.192 xcodebuild[54785:202041] [MT] DVTAssertions: Warning in /System/Volumes/Data/SWE/Apps/DT/BuildRoots/BuildRoot11/ActiveBuildRoot/Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-22269/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: 0x13260bcb0>{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 when trying to run a test for my Flutter app, I am able to run the app otherwise in the simulator.

Obviously this is a pretty major issue after upgrading to Sonoma 14.0 as you can't downgrade xCode to 14.x once you've upgraded to Sonoma.

I am desperate for a fix, I've tried the following code added to my Podfile but it has NOT alleviate the issue:

`post_install do |installer| installer.pods_project.targets.each do |target| target.build_configurations.each do |config| #config.build_settings['DEVELOPMENT_TEAM'] = '<TEAM_ID>' end end end

FIX for failing Patrol test builds (for Flutter integration testing), may work for other scenarios!

I was skeptical of that the DVTAssertions warnings were the cause of the build failure, after all they are only warnings of an existing file being overwrote...

Therefore I turned on verbose logging and studied each line of errors. I discovered within the verbose logs that directories and files were not permitted to be created for my test build due to sandboxing being enabled. I then studied sandboxing and found another thread that solved the build failure: [https://developer.apple.com/forums/thread/731041)

For your project in Xcode, select the Target you're working with (for Patrol testing on iOS this was RunnerUITests) and choose Build Settings > [expand] Build Options > User Script Sandboxing select 'No'.

Removing sandboxing allows for all build (test build in this case) files to be generated. I previously mentioned my app builds worked in another comment, and this is the reason why: sandboxing was disabled on my app's Target Runner already!

I'm trying to create my first project using Nativescript and I got the same error, I tried all the solutions I read on the internet, nothing was solved, result I can't start my project .

@Industrial-Strength-Data-Systems (Too long for direct response) I set it off and sadly it doesn't resolve the problem

.... (following error is printed more than 20 times by execution) 

2023-10-29 16:45:02.838 xcodebuild[55457:4153626] [MT] DVTAssertions: Warning in /System/Volumes/Data/SWE/Apps/DT/BuildRoots/BuildRoot11/ActiveBuildRoot/Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-22269/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: 0x7fae53f09c40>{number = 1, name = main}

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

2023-10-29 16:45:02.838 xcodebuild[55457:4153626] [MT] DVTAssertions: Warning in /System/Volumes/Data/SWE/Apps/DT/BuildRoots/BuildRoot11/ActiveBuildRoot/Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-22269/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: 0x7fae53f09c40>{number = 1, name = main}

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

/Users/dylantavares/Desktop/DEV/Ynov.nosync/lsf-trad/nativescript-app/platforms/ios/build/Debug-iphonesimulator/nativescriptapp.app: resource fork, Finder information, or similar detritus not allowed

Command CodeSign failed with a nonzero exit code

note: Using codesigning identity override: 

note: Run script build phase 'NativeScript PreLink' will be run during every build because the option to run the script phase "Based on dependency analysis" is unchecked. (in target 'nativescriptapp' from project 'nativescriptapp')

note: Run script build phase 'NativeScript PostBuild' will be run during every build because the option to run the script phase "Based on dependency analysis" is unchecked. (in target 'nativescriptapp' from project 'nativescriptapp')

note: Run script build phase 'NativeScript PreBuild' will be run during every build because the option to run the script phase "Based on dependency analysis" is unchecked. (in target 'nativescriptapp' from project 'nativescriptapp')

** BUILD FAILED **



Unable to apply changes for device: B2C32799-6C86-4A93-85A6-CF36187ED065. Error is: Command xcodebuild failed with exit code 65.

I don't know if it's related to Signing and Capabilities settings , but i tried many solutions and it doesn't resolve the problem too.

To be more accurate in my explanations, i just have run the command that create a new Nativescript project using Vue with Typescript blank template. I have run the installation of the required dependencies by my project (using npm). And now based on the official documentation of Nativescript i'il juste have to run the command to start the application by selecting iOS or Android. That run perfecly for Android simulator but not for iOS. I can confirm that all required pre-configuration has been done correctly. And from what I've read it's not related to Nativescript but from xCode/xBuild

I was able to resolve this error by doing the following (from the root of my React-Native project):

     pod install

I am still getting this issue on macOS 14 and xcode 15.0.1. Any solution to this problem?

Why are people in this thread acting like this is something they can solve? It's a bug in Xcode, you can't solve it, only Apple can.

Same issue here, using fastlane (that uses xcodebuild)

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