tonyarnold,
@tonyarnold@mastodon.social avatar

Xcode's automatic code signing option doesn't work for CI.

I've set it all up, and it creates the certificate it needs in the portal (I can see it), and then promptly tells me:

Revoke certificate: Your account already has an Apple Development signing certificate for this machine, but its private key is not installed in your keychain. Xcode can create a new one after revoking your existing certificate.

Does anyone even try this shit out before they release it anymore?

KrauseFx,

@tonyarnold spent my whole life on this

danielseither,

@tonyarnold Automatic code signing in CI is a mess, but fastlane match works great for that application, and you don't even have to use fastlane for the rest of your build automation (but match integrates with it if you do).

tonyarnold,
@tonyarnold@mastodon.social avatar

@danielseither I’m not keen to integrate more external tooling into my workflow, but I’ll check it out. I’m desperate at this point.

dt,
@dt@mastodon.online avatar

@tonyarnold If you have an enterprise account it’s even worse: Apple gave us the middle finger, we can’t create a certificate.
We can use a password based auth but Apple broke it multiple times, so we’re back to uploading certs (or worse, uploading my auth cookie on the CI)
And that’s with bitrise handling a lot of the complexity for me, I can’t imagine on GHA

I’m getting tired of Apple’s bs, my coworkers enjoy fast and easy CI for their Go backends.

PadraigOCinneide,
@PadraigOCinneide@mastodon.social avatar

@tonyarnold do you use Xcode Cloud or does it not work when you use that automatic cert on other CI?

tonyarnold,
@tonyarnold@mastodon.social avatar

@PadraigOCinneide this is on GitHub Actions.

PadraigOCinneide,
@PadraigOCinneide@mastodon.social avatar

@tonyarnold ah ok, I asked because I think xcode cloud does its own signing independently of that Xcode setting.

That sucks that the automatic setting won't work the way you want to use it :/

tonyarnold,
@tonyarnold@mastodon.social avatar

@PadraigOCinneide yeah, I mean it seems like there’s no option here but to manually inject a manually generated dev cert from now until kingdom come.

Thanks for asking 🙂

PadraigOCinneide,
@PadraigOCinneide@mastodon.social avatar

@tonyarnold I know almost nothing about this, but it feels like the kind of problem that a lot of people would have, so maybe there are good workarounds out there? (This is a message of hope and not much else)

tonyarnold,
@tonyarnold@mastodon.social avatar

@PadraigOCinneide I appreciate the hope, buddy ❤️ I’ll keep digging!

command_tab,
@command_tab@hachyderm.io avatar

@tonyarnold For better or worse, I use it in CI. I have to do an initial manual build of previously unseen projects on the machine before it will work on subsequent hands-free runs, though. Still better than dozens of lines of Keychain scripting prior to building.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • DreamBathrooms
  • ngwrru68w68
  • modclub
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • InstantRegret
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • mdbf
  • GTA5RPClips
  • provamag3
  • ethstaker
  • normalnudes
  • tester
  • osvaldo12
  • everett
  • cubers
  • tacticalgear
  • anitta
  • megavids
  • Leos
  • cisconetworking
  • JUstTest
  • lostlight
  • All magazines