xcodeprovisioning-profilecode-signing-certificate

Xcode / Apple profile : strange behavior on apple certificates


I upgraded tools to last Macos 15 / Xcode 16 version and now, I can't build my app with Xcode.

In Xcode, for "AdHoc profile" and "AppStore profile", I have the following error message :

Provisioning profile "XXXX" doesn't include signing certificate "Apple Development: NNNNNN".

But the profile used is for distribution, and on Apple developer platform, I can't link a development profile to distribution profile.

I don't understand what is wrong.

Anyone have a solution please ?


Solution

  • In fact, there are 2 root cause :

    CODE_SIGN_IDENTITY = "Apple Distribution";