IOS – xCODE 11.3.1 – Failed to create provisioning profile

iosmacosswiftxcode

I'm trying to create a project, which will run on the xCODE's simulator, not on an iPhone. Right after the project is created, there are multiple errors. The first one is:

Failed to create provisioning profile. There are no devices registered in your account on the developer website. Plug in and select a device to have Xcode register it.

I found many similar issues, but the given solutions didn't work in my case, or the issues where slightly different than mine, so I couldn't use them.

If there's any information needed for anyone to help, tell me and I'll provide it.

enter image description here

Best Answer

The solution for this error is emptying the field at the Code Signing Identity at Build Settings.

enter image description here

I thought it didn't help since there are still multiple errors. I now realize that those errors are not related to the one this question deals with.