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 ?
In fact, there are 2 root cause :
project.pbxproj
, ensure that the following line is correct :CODE_SIGN_IDENTITY = "Apple Distribution";
apple-actions/import-codesign-certs@v1
for CI/CD, ensure that the certicate used has only one certificate. Multi-certificates is not correctly managed, I don't know why.