-
Notifications
You must be signed in to change notification settings - Fork 877
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add support for development signing #1247
Conversation
add support for development signing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
} | ||
} else { | ||
# an empty dummy file just to simplify things | ||
provisioning_profile = "//brave/build/mac/dummy.provisionprofile" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This logic is changing; is an empty dummy.provisionprofile OK for non-official builds? (have you tested this code-path?)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this logic isn't changing, signing never worked for non-official builds. This is in fact the only code path I have tested because I can't test the dev/beta signing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
for dev signing we only pass a provision profile to simplify things with the number of arguments. It isn't actually used in the signing script when --development
(below) is passed
@@ -37,7 +37,7 @@ | |||
} | |||
|
|||
#if !defined(OFFICIAL_BUILD) | |||
return "com.brave.Browser.development"; | |||
return "com.brave.Browser"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why did this need to change? Was it defaulting non-official builds to the dev ID?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
actually this shouldn't be needed. I think it's just leftover from when I couldn't get it to work when everything was set to com.brave.Browser.development. I'll check now
add support for development signing
fix brave/brave-browser#2794
requires brave/brave-browser#2855