Since r295496, I'm getting the following error while building WebKit for MacOS: ``` usr/bin/codesign --force --sign - --timestamp\=none --preserve-metadata\=identifier,entitlements,flags --generate-entitlement-der /Users/playwright/webkit/WebKitBuild/Release/InjectedBundleTestWebKitAPI.bundle/Contents/Resources/WebKit.framework /Users/playwright/webkit/WebKitBuild/Release/InjectedBundleTestWebKitAPI.bundle/Contents/Resources/WebKit.framework: replacing existing signature /Users/playwright/webkit/WebKitBuild/Release/InjectedBundleTestWebKitAPI.bundle/Contents/Resources/WebKit.framework: unsealed contents… ``` The command I'm using to build is: ``` $ ./Tools/Scripts/build-webkit --release --touch-events --orientation-events ``` Environment is macOS v12.3.1, building with XCode13.2. Builds work if I build using the new --no-use-workspace flag though.
Is build-webkit (without --no-use-workspace) failing reliably in this way? I've seen this before, but it's always been fixed by a rebuild, suggesting some build-time race condition.
I forgot to mention it always fails on a clean build. Once it has failed, a second attempt to build finishes successfully.
(In reply to Diego Pino from comment #2) > I forgot to mention it always fails on a clean build. Once it has failed, a > second attempt to build finishes successfully. Nice. I'll look into this and see if I can reproduce the problem.
Pull request: https://github.com/WebKit/WebKit/pull/1699
Looks like a simple misconfiguration in one the "Product Dependencies" phases. I'm able to reproduce the problem and fix it with this change.
Committed r295755 (251760@main): <https://commits.webkit.org/251760@main> Reviewed commits have been landed. Closing PR #1699 and removing active labels.
<rdar://problem/95732878>