Error appeared

Hi friends!
I was developing an app, everything was working OK, but when I played the app on my iPhone connecting it via cable to the Mac an error has appeared and it says "The operation couldn't be completed. Unable to log in with account ... " "No profiles for ... were found: Xcode couldn't find any iOS app Development provisioning devices matching ..." and I'm not able to try it on my iPhone.
Any suggestion or idea to fix these errors?

Answered by Claude31 in 738317022

You should check the app:

  • Select the app in the left pane
  • Select Targets
  • Go to Signing and capabilities

What do you see here ? Is everything OK ?

Also, check if the iPhone is registered in Xcode:

  • Select Windows > Devices and Simulators
  • Check that the iPhone appears in Devices
Accepted Answer

You should check the app:

  • Select the app in the left pane
  • Select Targets
  • Go to Signing and capabilities

What do you see here ? Is everything OK ?

Also, check if the iPhone is registered in Xcode:

  • Select Windows > Devices and Simulators
  • Check that the iPhone appears in Devices

Now it says me this:

"Could not launch “App” The operation couldn’t be completed. Unable to launch ...-icloud.com because it has an invalid code signature, inadequate entitlements or its profile has not been explicitly trusted by the user."

Error appeared
 
 
Q