New issue
Advanced search Search tips

Issue 659142 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Oct 2016
Cc:
EstimatedDays: ----
NextAction: ----
OS: iOS
Pri: 3
Type: Bug



Sign in to add a comment

GN: compilation warning when building on macOS Sierra

Project Member Reported by sdefresne@chromium.org, Oct 25 2016

Issue description

When compiling Chrome for iOS on Sierra, we see the following warnings:

[5108/26011] ACTION //url:url_unittests_gen_entitlements(//build/toolchain/mac:ios_clang_x64)
security: SecPolicySetValue: One or more parameters passed to a function were not valid.
security: SecPolicySetValue: One or more parameters passed to a function were not valid.
security: SecPolicySetValue: One or more parameters passed to a function were not valid.
security: SecPolicySetValue: One or more parameters passed to a function were not valid.
security: SecPolicySetValue: One or more parameters passed to a function were not valid.

This is probably related to generation of the entitlements for simulator, need to be investigated and addressed before they turn to errors.
 

Comment 1 Deleted

It looks like we need to pass -u 11 to prevent the warning.
Project Member

Comment 3 by bugdroid1@chromium.org, Oct 25 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/b7c2e30b74d87e45f1aa508c028d9927829b8fd0

commit b7c2e30b74d87e45f1aa508c028d9927829b8fd0
Author: sdefresne <sdefresne@chromium.org>
Date: Tue Oct 25 17:57:14 2016

Ignore expired mobile provisioning profiles.

Ignore mobile provisioning profile that are expired (or soon going to
expire, i.e. expiration date arrives in less than 1 hour) and warn
about the soon-to-expire mobile provisioning profile.

If two mobile provisioning profile can be used to sign a bundle, use
the one that will expire the latest.

Pass the -u parameter to prevent "security" displaying an error
message when compiling on macOS Sierra.

BUG= 659142 ,657521

Review-Url: https://codereview.chromium.org/2446283002
Cr-Commit-Position: refs/heads/master@{#427408}

[modify] https://crrev.com/b7c2e30b74d87e45f1aa508c028d9927829b8fd0/build/config/ios/codesign.py

Status: Fixed (was: Assigned)

Sign in to add a comment