0

NOTE: I am using iPhone 6s for testing.

Error:

requires the following capabilities which are not supported by My iPhone:

Privacy - Camera Usage Description 
NSLocationWhenInUseUsageDescription

Where as i have already added my keys in the pInfo.list

Please find the attached image. enter image description here

enter image description here

DEV
  • 949
  • 1
  • 9
  • 29
  • What do you have under the "Required device capabilities" key in your Info.plist? – rmaddy Jan 03 '17 at 17:10
  • @rmaddy i have Privacy - Camera Usage Description NSLocationWhenInUseUsageDescription – DEV Jan 03 '17 at 17:12
  • Update your screenshot to show the 3 values under "Required device capabilities". – rmaddy Jan 03 '17 at 17:13
  • I have updated it. Please check. There was an unwanted key i removed @rmaddy – DEV Jan 03 '17 at 17:17
  • Unrelated but you should provide better values for the "Privacy" messages. The user already knows your app requires access. Your message should explain why it needs access. – rmaddy Jan 03 '17 at 17:22

1 Answers1

1

You have entered invalid "required device capabilities" values. Delete those invalid entries and your issue will go away.

See Declaring the Required Device Capabilities for the valid list of values you might use.

rmaddy
  • 314,917
  • 42
  • 532
  • 579
  • It installed the app after i removed the keys. But while opening the app it says Untrusted developer . Your device management settings do not allow apps from developer "xx" on this phone. You can allow using these apps in settings. Where in Setings i can enable this? @rmaddy – DEV Jan 03 '17 at 17:27
  • @NewbieIOS rmaddy may or may not answer, but what you are now doing is "leeching". Your question was answered. If you have a new question, ask a new question! – matt Jan 03 '17 at 17:29
  • I got the answer using this link. http://apple.stackexchange.com/questions/206143/ios-untrusted-developer-error-when-testing-app. – DEV Jan 03 '17 at 17:32
  • I am sorry about that @matt. But thanks for mentioning that. – DEV Jan 03 '17 at 17:33