Skip to content

Update build settings to let contributors build - #180

Draft
kenrachynski wants to merge 4 commits into
subpop:mainfrom
troublemaker-dev:update-building
Draft

kenrachynski wants to merge 4 commits into
subpop:mainfrom
troublemaker-dev:update-building

Conversation

@kenrachynski

Copy link
Copy Markdown

Xcode will error out with the defaults originally in the files. I made these changes and Xcode was able to successfully build Relay.

I have not tested a scenario where the person building the app does not have a developer account.

@kenrachynski

kenrachynski commented Aug 23, 2026

Copy link
Copy Markdown
Author

This may address parts of #172

@kenrachynski
kenrachynski force-pushed the update-building branch 2 times, most recently from c333737 to 4ec225f Compare September 1, 2026 01:35
kenrachynski and others added 4 commits September 23, 2026 13:38
Xcode *will* error out with the defaults originally in the files.
I made these changes and Xcode was able to successfully build
Relay.
Instrument Relay and RelayKit for plists containing the developer
group id.

Change swift code to read from plist instead of hard-coded group id.
Move CODE_SIGN_STYLE and CODE_SIGN_IDENTITY into Secrets.xcconfig so
contributors without a paid Developer Program membership can build
and run the app using a free Personal Team. Also wire
RelayShareExtension to Secrets.xcconfig, which it was previously
missing entirely.

Relay's app sandbox and app group entitlements require a real
development certificate and cannot be ad-hoc signed, so a free Apple
ID is documented as the minimum requirement in CONTRIBUTING.md and
Secrets.xcconfig.example.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@kenrachynski
kenrachynski marked this pull request as draft September 24, 2026 00:29

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

This file doesn't need to be here, and the references in the Xcode project can be dropped too. (I think if you git rm the file, Xcode notices and removes the file references.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Actually, it contains data specifically for developer identification.

Comment thread Relay/Relay.entitlements
Comment on lines -13 to +9
<string>group.46UKXDYHHC.app.subpop.Relay</string>
<string>group.$(DEVELOPMENT_TEAM).$(BUNDLE_PREFIX).Relay</string>

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

This is the only change that should be present in this file. The rest are needlessly moving lines around.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Needless or not, I thought Xcode changed that file.

@subpop

subpop commented Sep 24, 2026

Copy link
Copy Markdown
Owner

Overall, this works. I just have two changes I'd like to make, but I tested this locally and it still works for me with my Secrets.xcconfig.

This branch has not been deployed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants