5

I wanted to build my project in my iPhone, I got this error message

The operation couldn’t be completed. 
Unable to launch com.xxxx.test because it has an invalid code signature, 
inadequate entitlements or its profile has not been explicitly trusted by the user.

I tried to go to settings> general> VPN and device management but I have nothing inside it I only have the possibility to log in with a work or school account and nothing else. My app does not appear in the VPN and device management section therefore I cannot authorize anything.How can I fix it? Thanks.

Xcode 13.0 iPhone X iOS 15

2
  • Same as stackoverflow.com/questions/69267550/…. I have a feeling we're going to be seeing a lot of these.
    – matt
    Sep 22, 2021 at 3:47
  • I'm not sure the question is same but the error message looks like we can't find the trust setting.
    – lighter
    Sep 22, 2021 at 4:02

2 Answers 2

2

This solved my case.

iPhone Settings -> General -> VPN and device management -> From "Developer App" section found "Apple Development: APPLE_ID" -> Trust 

See the screenshots:

enter image description here enter image description here

-1

There are two solutions :

  • Solution 1: open System Preferences -> Users & Groups -> Add a user account (build with the new user is successfully

  • Solution 2: Open Keychain Access -> choose System, All Items -> delete certificate Apple Worldwide Developer Relations Certification Authority

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.