Assets throws me a error in SwiftUI Xcode 13.0

Hi good morning community,

I have a really weird error , my project for some reason don't find my assets and told me that is an error in my bundle Resources.

if I delete my assets in the copy Bundle Resources the errors goes away, but my images don't look in my project.

the error that Xcode throws me is this :

  • CompileAssetCatalog /Users/jxr0721/Library/Developer/Xcode/DerivedData/ZabulonApp-cwdueaevkgvjznbmjsxbvmqosobm/Build/Products/Debug-iphonesimulator/ZabulonApp.app /Users/jxr0721/Desktop/Personal/ZabulonApp/ZabulonApp/Assets\ .xcassets /Users/jxr0721/Desktop/Personal/ZabulonApp/ZabulonApp/Preview\ Content/Preview\ Assets.xcassets (in target 'ZabulonApp' from project 'ZabulonApp')

    cd /Users/jxr0721/Desktop/Personal/ZabulonApp

    /Applications/Xcode.app/Contents/Developer/usr/bin/actool --output-format human-readable-text --notices --warnings --export-dependency-info /Users/jxr0721/Library/Developer/Xcode/DerivedData/ZabulonApp-cwdueaevkgvjznbmjsxbvmqosobm/Build/Intermediates.noindex/ZabulonApp.build/Debug-iphonesimulator/ZabulonApp.build/assetcatalog_dependencies --output-partial-info-plist /Users/jxr0721/Library/Developer/Xcode/DerivedData/ZabulonApp-cwdueaevkgvjznbmjsxbvmqosobm/Build/Intermediates.noindex/ZabulonApp.build/Debug-iphonesimulator/ZabulonApp.build/assetcatalog_generated_info.plist --app-icon AppIcon --accent-color AccentColor --compress-pngs --enable-on-demand-resources YES --filter-for-device-model iPod9,1 --filter-for-device-os-version 15.0 --development-region en --target-device iphone --target-device ipad --minimum-deployment-target 14.0 --platform iphonesimulator --compile /Users/jxr0721/Library/Developer/Xcode/DerivedData/ZabulonApp-cwdueaevkgvjznbmjsxbvmqosobm/Build/Products/Debug-iphonesimulator/ZabulonApp.app /Users/jxr0721/Desktop/Personal/ZabulonApp/ZabulonApp/Assets\ .xcassets /Users/jxr0721/Desktop/Personal/ZabulonApp/ZabulonApp/Preview\ Content/Preview\ Assets.xcassets

2021-10-14 09:48:10.268 ibtoold[19324:122384] DEBUG: Added to environment: {

    TMPDIR = "/var/folders/2x/4w3vtvq56v78kn9cr9hwrvg0p2yb9m/T/1B31541F-8ECD-4FA8-9EAF-861E8005F12C";

}

Command CompileAssetCatalog failed with a nonzero exit code.

I don't know what's going on , if anyone knows how to delete this erro I appreciate a lot !

Did you do the usual "Clean Build Folder" ?

yes , I already try that and delete the derived data and the error continue.

Assets throws me a error in SwiftUI Xcode 13.0
 
 
Q