Loop icon indicating copy to clipboard operation
Loop copied to clipboard

Enable automatic code signing in Xcode

Open Camji55 opened this issue 3 months ago • 4 comments

This change allows building and distributing with Xcode Cloud which I have been doing on my personal branch for some time now. The intent is that existing workflows for browser builds with GitHub Actions and all Continuous Integration actions should still work as-is since Fastlane should override these code-signing settings. This will need some testing before it gets adopted but having the option to build and deploy within Xcode itself would be beneficial for users who'd like to take advantage of it especially if other options still remain available.

I'm also working on a write up on how to setup Xcode Cloud as an alternative to GitHub Actions for browser builds.

Please let me know what I can do to help verify all Fastlane and GitHub Actions remain working!

Camji55 avatar Sep 16 '25 03:09 Camji55

Test

The functional behavior is independent of whether "Apple Development" is entered directly for the CODE_SIGN_IDENTITY, so these tests are valid and successful.

✅ Mac-Xcode build: no issues building with this change. ✅ Browser Build: Successful Build

marionbarker avatar Sep 21 '25 21:09 marionbarker

Having a write up for how to use Xcode Cloud will be excellent. Thank you for doing this.

marionbarker avatar Sep 21 '25 21:09 marionbarker

@marionbarker thank you for testing! Yes, with this change there can be some variables removed from the xcconfig in the LoopWorkspace repo including:

LOOP_CODE_SIGN_IDENTITY_DEBUG LOOP_CODE_SIGN_IDENTITY_RELEASE LOOP_CODE_SIGN_STYLE

Let’s definitely let @ps2 chime in!

Camji55 avatar Sep 21 '25 22:09 Camji55

@ps2 said: Removing those other unused settings would be nice too.

I want to be clear which settings should be removed.

Loop.xcconfig has these 3 lines:

LOOP_CODE_SIGN_IDENTITY_DEBUG = Apple Development
LOOP_CODE_SIGN_IDENTITY_RELEASE = Apple Development
LOOP_CODE_SIGN_STYLE = Automatic

I was suggesting that those variables be used in Loop.xcodeproj/project.pbxproj instead of hardcoding them as is done in this PR.

@Camji55 refers to those being in the LoopWorkspace: LoopConfigOverride.xcconfig file. But they are not included in the DIY LoopWorkspace file at this time.

marionbarker avatar Sep 29 '25 19:09 marionbarker