Building with XCBuild enabled results in the following build error: ---------- CodeSign ${HOME}/Library/Developer/Xcode/DerivedData/Safari-djbsfwsxghzlwwevmsfmutmmwqtx/Build/Products/Debug-iphoneos/com.apple.WebKit.WebContent.xpc (in target: WebContent) cd /Volumes/Data/dev/webkit/branches/xcfilelists/OpenSource/Source/WebKit export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/iOS.xctoolchain/usr/bin/codesign_allocate Signing Identity: "-" /usr/bin/codesign --force --sign - --entitlements ${HOME}/Library/Developer/Xcode/DerivedData/Safari-djbsfwsxghzlwwevmsfmutmmwqtx/Build/Intermediates.noindex/WebKit.build/Debug-iphoneos/WebContent.build/com.apple.WebKit.WebContent.xpc.xcent --timestamp=none ${HOME}/Library/Developer/Xcode/DerivedData/Safari-djbsfwsxghzlwwevmsfmutmmwqtx/Build/Products/Debug-iphoneos/com.apple.WebKit.WebContent.xpc ${HOME}/Library/Developer/Xcode/DerivedData/Safari-djbsfwsxghzlwwevmsfmutmmwqtx/Build/Intermediates.noindex/WebKit.build/Debug-iphoneos/WebContent.build/com.apple.WebKit.WebContent.xpc.xcent: cannot read entitlement data Command CodeSign failed with a nonzero exit code ---------- The issue is likely related to re-ordered build steps performed by the new XCBuild rules. The custom step of deleting the .xcent file is probably occurring after Xcode has auto-generated this file for its own purposes. We need to figure out what the appropriate alternative is.
<rdar://problem/47533890>
Created attachment 361368 [details] Patch
Comment on attachment 361368 [details] Patch Wow! This looks much simpler! r=me
Comment on attachment 361368 [details] Patch Clearing flags on attachment: 361368 Committed r241135: <https://trac.webkit.org/changeset/241135>
All reviewed patches have been landed. Closing bug.