Codesign issues

Hi,
I’ve noticed a couple of times recently when I’ve been out and about offline that building is failing due to codesign. This can only be solved next time I’m back online.

  1. Why do we need debug builds to be signed in the first place?
  2. Is there any easy solution to this when it starts happening without having to get back online?

Thx

In Xcode within Signing & Capabilities I change the Signing Certificate to Sign to Run Locally. That lets me build while being offline but the setting gets reset by the Projucer so its not ideal.

1 Like

Hi - I tried that today and it made no difference - I wonder if that has to be done whilst online before going offline? thx

From memory there are cases on Apple Silicon machines where we still need to sign a debug build.

I’m surprised the Sign to Run Locally trick doesn’t work but it might be because of the copy step.

  • Are you using CMake or the Projucer?
  • Are you enabling the copy step?
  • If so can you see any useful information in the post build phase script?
2 Likes

Ah yes, you might be right about the silicon - that rings a bell.

I’m using Projucer and was just adjusting the settings in Xcode. I’ll check the info next time this happens. thx