WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
193799
Fix XCBuild issue related to codesigning WebContent process
https://bugs.webkit.org/show_bug.cgi?id=193799
Summary
Fix XCBuild issue related to codesigning WebContent process
Keith Rollin
Reported
2019-01-24 16:39:21 PST
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.
Attachments
Patch
(43.25 KB, patch)
2019-02-06 19:14 PST
,
Keith Rollin
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2019-01-24 16:39:46 PST
<
rdar://problem/47533890
>
Keith Rollin
Comment 2
2019-02-06 19:14:03 PST
Created
attachment 361368
[details]
Patch
Brent Fulgham
Comment 3
2019-02-07 10:39:30 PST
Comment on
attachment 361368
[details]
Patch Wow! This looks much simpler! r=me
WebKit Commit Bot
Comment 4
2019-02-07 11:26:35 PST
Comment on
attachment 361368
[details]
Patch Clearing flags on attachment: 361368 Committed
r241135
: <
https://trac.webkit.org/changeset/241135
>
WebKit Commit Bot
Comment 5
2019-02-07 11:26:37 PST
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug