iOS Mobile Tesing Setup

I am getting this error while below error while running the Command-
xcodebuild -project WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination ‘id=933323cb9715eb58c058a9a2987423ba6e950079’ test

Testing failed:
WebDriverAgentRunner: encountered an error (Failed to install or launch the test runner. (Underlying error: Unable to launch (Underlying error: The operation couldn’t be completed. Unable to launch because it has an invalid code signature, inadequate entitlements or its profile has not been explicitly trusted by the user. : Failed to launch process with bundle identifier ‘’)))

Can anyone help me in above isssue?

@bhagyawanp have you compiled WebDriverAgent and WebDriverAgentLib with success? If so you should go in phone/tablet to: Tool->General->Manage devices and authorize application just compiled on device to access to phone usage

Thanks @davide.denicolo .Problem with the permission not allowed.