Chromium Embedded Framework codesign error

Hi,

I’m facing a codesign error on the Chromium Enbedded Framework.

What’s very strange is that a couple of days ago Xcode could codesign the framework with no issues.

I’m running UE 5.4.3, Xcode 15.4 and macOS Sonoma 14.6.1.

The project uses the modern Xcode build system.

I face this error :

CodeSign /Users/mg/Documents/xxx/Binaries/Mac/xxx.app/Contents/Frameworks/Chromium\ Embedded\ Framework.framework (in target 'xxx' from project 'xxx (Mac)')
    cd /Users/mg/Documents/xxx/Intermediate/ProjectFiles
    
    Signing Identity:     "-"
    
    /usr/bin/codesign --force --sign - --timestamp\=none --preserve-metadata\=identifier,entitlements,flags --generate-entitlement-der /Users/mg/Documents/xxx/Binaries/Mac/xxx.app/Contents/Frameworks/Chromium\ Embedded\ Framework.framework

/Users/mg/Documents/xxx/Binaries/Mac/xxx.app/Contents/Frameworks/Chromium Embedded Framework.framework: replacing existing signature
/Users/mg/Documents/xxx/Binaries/Mac/xxx.app/Contents/Frameworks/Chromium Embedded Framework.framework: resource fork, Finder information, or similar detritus not allowed

I tried cleaning up the Binaries, Build, DerivedDataCache, Intermediate, Saved and xcworkspace projects, and the Xcode DerivedData directory as well.

I tried using my Apple developer account too and the Development certificate, to no avail.

I also tried removing the framework altogether or skip code-signing. The same codesign error happens on the actual .app.

I came across this article too regarding the finder information “detritus” : Technical Q&A QA1940: Code signing fails with error 'resource fork, Finder information, or similar detritus not allowed'. Still doesn’t work.

I’m looking for any insights or help on this topic.

Thank you in advance,

Mathieu,

I also created a new, empty project from scratch using one of the template.

Codesign fails with the same errors.

Something is definitely off.

OK, I hope this serves anyone in the future.

All this errors are due to my “Documents” folder being sync’d with iCloud.

Make sure your repository / code is on fully local location and not on iCloud.

By default “Documents” and “Destop” sync to iCloud.

Cheers.