I'm trying to build my project on actual device and I faced with this error. I signed in my account and selected Team. I built successful my project on simulator device but not on actual device.
See Question&Answers more detail:osI'm trying to build my project on actual device and I faced with this error. I signed in my account and selected Team. I built successful my project on simulator device but not on actual device.
See Question&Answers more detail:osClean your project using CommandShiftK and with OptionCommandShiftK.
You can also clear your Derived Data from Finder by going to ~/Library/Developer/Xcode/DerivedData
and deleting the folder for the project (don't worry, this doesn't cause any issues!). To paste that directory in finder, you can use CommandShiftG.