Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Any way to edit the UIRequiredDeviceCapabilities key in Info.plist?

My app was rejected today by Apple because it requires an iPhone with GPS capabilities and the info.plist doesn't designate that, despite me setting that key in the plist template. I noticed there's currently a bug for this: https://appcelerator.lighthouseapp.com/projects/32238/tickets/228-add-support-for-uirequireddevicecapabilities and I'm wondering if there's a way to edit the info.plist manually in the meantime since this particular key (UIRequiredDeviceCapabilities) isn't honored by Titanium by editing info.plist.template, or info.plist, or by editing /Library/Application Support/Titanium/mobilesdk/osx/1.3.2/iphone/Info.plist

Is there a way I can edit this key inside the built app's package contents or via xcode or some other way to insert this key into info.plist? It's frustrating that something so trivial is keeping the app from being accepted.

— asked July 16th 2010 by Randy Hall
  • build
  • gps
  • info.plist
  • plist
  • uirequireddevicecapabilities
1 Comment
  • Looks like if I edit the info.plist inside the built app, it becomes unsigned so it can't be submitted like this. Hmmm.. any ideas?

    — commented July 16th 2010 by Randy Hall

1 Answer

  • Accepted Answer

    Copy the info.plist to the root of your project and edit it from there. It will be copied over to the complied project from there.

    — answered July 16th 2010 by Sj Singh
    • Thanks for the suggestion. I'll give this a try.

      — commented July 16th 2010 by Randy Hall
    • Looks like this worked. Thanks. Resubmitted to Apple…

      — commented July 16th 2010 by Randy Hall
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.