Access iphone's settings app on real device

I want to access device settings, I checked there are similar posts but no answer for real device.

I tried passing parameters as

desired_caps['app'] = 'settings' and desired_caps['bundleId'] = ''

But I get error Instruments Trace Error : Target failed to run: Permission to debug was denied. The app must be signed with a development identity (e.g. iOS Developer).

Seems like above works on simulator but not device.

I can launch my test app, so I’m passing other parameters correctly.

Or is there any other way to access device settings?