RESOLVED FIXED 210250
Set ENTITLEMENTS_REQUIRED=NO for some Xcode build targets
https://bugs.webkit.org/show_bug.cgi?id=210250
Summary Set ENTITLEMENTS_REQUIRED=NO for some Xcode build targets
Keith Rollin
Reported 2020-04-09 00:37:30 PDT
When building with the public version of Xcode 11.4, with XCBuild enabled, and targeting the iOS device, some build targets issue an error like: error: An empty identity is not valid when signing a binary for the product type 'Command-line Tool'. (in target 'yasm' from project 'libwebrtc') A comment in <rdar://problem/47092353> suggests setting ENTITLEMENTS_REQUIRED=NO to relax the requirement. To that end, when building with the public Xcode, establish that setting for the affected targets.
Attachments
Patch (14.25 KB, patch)
2020-04-09 00:40 PDT, Keith Rollin
no flags
Patch (15.12 KB, patch)
2020-04-09 10:29 PDT, Keith Rollin
no flags
Radar WebKit Bug Importer
Comment 1 2020-04-09 00:37:39 PDT
Keith Rollin
Comment 2 2020-04-09 00:40:49 PDT
Jonathan Bedard
Comment 3 2020-04-09 07:29:09 PDT
Comment on attachment 395918 [details] Patch Can we try to remove IDEProvisioningProfileSupportRelaxed=YES from webkitdirs and see what EWS says?
Keith Rollin
Comment 4 2020-04-09 10:12:15 PDT
(In reply to Jonathan Bedard from comment #3) > Comment on attachment 395918 [details] > Patch > > Can we try to remove IDEProvisioningProfileSupportRelaxed=YES from > webkitdirs and see what EWS says? I'm not sure what you're trying to determine. Do you want this change in addition to the one already in this patch? If so, are you trying to see if IDEProvisioningProfileSupportRelaxed=YES is no longer necessary?
Jonathan Bedard
Comment 5 2020-04-09 10:14:21 PDT
(In reply to Keith Rollin from comment #4) > (In reply to Jonathan Bedard from comment #3) > > Comment on attachment 395918 [details] > > Patch > > > > Can we try to remove IDEProvisioningProfileSupportRelaxed=YES from > > webkitdirs and see what EWS says? > > I'm not sure what you're trying to determine. Do you want this change in > addition to the one already in this patch? If so, are you trying to see if > IDEProvisioningProfileSupportRelaxed=YES is no longer necessary? Yes, I'm curious if this change makes IDEProvisioningProfileSupportRelaxed=YES no longer required. That might not be the case, but EWS will tell us quickly either way.
Keith Rollin
Comment 6 2020-04-09 10:29:26 PDT
Keith Rollin
Comment 7 2020-04-09 11:59:29 PDT
The green bubbles seem to be saying it works.
Jonathan Bedard
Comment 8 2020-04-09 12:07:02 PDT
(In reply to Keith Rollin from comment #7) > The green bubbles seem to be saying it works. A bit concerned because it didn't clean build. I have a local OpenSource machine that I'm testing on now.
Jonathan Bedard
Comment 9 2020-04-09 13:25:01 PDT
Comment on attachment 395974 [details] Patch Just ran this patch with a clean build on a customer machine, seems to be good to go!
Keith Rollin
Comment 10 2020-04-09 13:41:34 PDT
Thanks for double-checking.
EWS
Comment 11 2020-04-09 13:52:04 PDT
Committed r259826: <https://trac.webkit.org/changeset/259826> All reviewed patches have been landed. Closing bug and clearing flags on attachment 395974 [details].
Note You need to log in before you can comment on or make changes to this bug.