Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-228] add support for UIRequiredDeviceCapabilities

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:52:25.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.6.0 M07
ComponentsiOS
Labelsfeature, ios, plist, release-1.6.0
ReporterJeff Haynie
AssigneeJeff Haynie
Created2011-04-15T02:25:46.000+0000
Updated2011-04-17T01:52:25.000+0000

Description

for iphone, add support for UIRequiredDeviceCapabilities in Info.plist so that app store will properly filter by them.

Attachments

FileDateSize
tiapp.xml2011-04-15T02:25:46.000+00001332

Comments

  1. Jeff Haynie 2011-04-15

    this is the pointer:

    http://developer.apple.com/iphone/library/documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/AdvancedFeatures/AdvancedFeatures.html"> http://developer.apple.com/iphone/library/documentation/iPhone/Conc...

  2. Jeff Haynie 2011-04-15

    (from [531b370e996510311df2d4d52ae3c8458229cb7e]) [#228 state:fixed-in-qa] Addition of / tiapp.xml properties. https://github.com/appcelerator/titanium_mobile/commit/531b370e996510311df2d4d52ae3c8458229cb7e"> https://github.com/appcelerator/titanium_mobile/commit/531b370e9965...

  3. Stephen Tramer 2011-04-15

    To test:

    • Create a new titanium project, 'requires'
    • Copy KS 'Resources' into its resources
    • Replace 'tiapp.xml' with the attached tiapp.xml
    • Run in simulator (to generate iphone build files)
    • Open generated xcode project, set build settings to "device".

    -- SHOULD INSTALL ON: Any iPhone

    -- SHOULD NOT INSTALL ON: Any iPod touch, iPad (unless they can handle 'sms:' and 'tel:' URLs)

    Also:

    • Check Info.plist file -- Should have UIRequiredDeviceCapabilities key with values telephony, sms, wifi
  4. Alan Leard 2011-04-15

    Successful iOS Simulator, iPhone, and iPad test on 01/28/2011

    • iOS Simulator Results: runs
    • iPhone Results: installs
    • iPad Results: ERROR :The Info.plist for application at /Users/alanleard/Documents/iPhoneApps/requires/build/iphone/build/Debug-iphoneos/requires.app specifies device capability requirements, which are not met by Alan’s iPad

    Mobile SDK version: 1.6.0 (01/26/11 18:53 bd12917...)

    iPhone Version: iPhone 4 / 4.2.1

    iPad Version: 4.2.1

    Simulator Version: 4.2 (235)

JSON Source