Since I updated to Xcode 15 I get an annoying "app comes unidentified developer, do you confirm you want to open" alert (note: approximate translation).
I can still open and debug my app by clicking the "open" button, but that’s a pain.
I have the "sign to run locally" build setting. And I run the debug target.
Any way to solve this or is it just a new Xcode bug ?
2
Answers
I was getting this. I changed the Bundle Identifier by removing a "-" from the name and then built it again. The error then disappeared. I then added the "-" back and it still built!
I got the same annoying propmpt when I upgraded to macOS 14.0 and I’m using Xcode 15.0
The following link had the answer for me : https://forums.kodeco.com/t/macos-sonoma-xcode-15/190495
There were 2 steps:
Link your Apple ID using Xcode > Settings > Accounts
Set the Team to the newly linked account in Signings & Capabilities. I’m not too familiar with Xcode, but I found this by selecting the root of the project in the project navigator, then selected the TARGET, then selecting the Signings & Capabilities tab. Then picked me in the Team dropdown.
I did get the warning once more, but haven’t had it for a while now, so hopefully it works.