Skip to content

Meta: Allow setting local dev team - #5203

Merged
fregante merged 6 commits into
mainfrom
local-safari-overrides
Dec 21, 2021
Merged

fregante merged 6 commits into
mainfrom
local-safari-overrides

Conversation

@fregante

@fregante fregante commented Dec 15, 2021 •

Copy link
Copy Markdown
Member

You should now be able to create the file safari/LocalOverrides.xcconfig with the content:

CODE_SIGN_IDENTITY = "Apple Development";
DEVELOPMENT_TEAM = YG56YK5RN5

Untested except on CI, does it work for you?

@fregante
fregante marked this pull request as ready for review December 15, 2021 08:35
Comment thread safari/Config.xcconfig
Comment on lines 1 to 2
MARKETING_VERSION = 21.12.12
CURRENT_PROJECT_VERSION = 16

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if we should keep these in the repo too.

  • MARKETING_VERSION can be set by a custom version script inside an additional GeneratedOverrides.xcconfig file
  • CURRENT_PROJECT_VERSION I think Xcode takes care of this? I think I've seen it automatically bump this number before

@cheap-glitch cheap-glitch added the meta Related to Refined GitHub itself label Dec 15, 2021
@fregante fregante changed the title Allow setting local dev team Meta: Allow setting local dev team Dec 15, 2021
@fregante
fregante merged commit 03694fa into main Dec 21, 2021
@fregante
fregante deleted the local-safari-overrides branch December 21, 2021 07:53
@sindresorhus

Copy link
Copy Markdown
Member

MARKETING_VERSION can be set by a custom version script inside an additional GeneratedOverrides.xcconfig file

Yes, it would be nice to not have to duplicate this.

CURRENT_PROJECT_VERSION I think Xcode takes care of this? I think I've seen it automatically bump this number before

Not as far as I know. Xcode has a CLI tool to bump it.

We could maybe set the build version based on commit count or tag count (+ padding to be higher than existing number).

https://gist.github.com/dimitribouniol/24f0406e0878e5880f3a64dea3c528b6

@sindresorhus

Copy link
Copy Markdown
Member

This works, but not quotes on the code sign identity:

CODE_SIGN_IDENTITY = Apple Development
DEVELOPMENT_TEAM = YG56YK5RN5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

meta Related to Refined GitHub itself

Development

Successfully merging this pull request may close these issues.

Safari test should work with signing certificate

3 participants