Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-6703] iOS: Titanium.Platform.model does not return expected String.

GitHub Issuen/a
TypeBug
PriorityTrivial
StatusClosed
ResolutionFixed
Resolution Date2012-01-23T16:59:19.000+0000
Affected Version/sRelease 1.7.5, Release 1.8.0, Release 1.8.0.1
Fix Version/sSprint 2012-02, Release 2.0.0, Release 1.8.1
ComponentsiOS
Labelsparity
ReporterQing Gao
AssigneeSabil Rahim
Created2011-12-15T14:39:22.000+0000
Updated2012-03-04T22:01:02.000+0000

Description

The Titanium.Platform.model API returns "x86_64" instead of "Simulator" as shown in line 58 of https://github.com/appcelerator/KitchenSink/blob/master/Resources/examples/accelerometer.js

Repro Steps

Build a project to run the following code on iPhone Simulator.
var win1 = Ti.UI.createWindow({});

Titanium.API.info("Titanium.Platform.name= "+Titanium.Platform.name);
Titanium.API.info("Titanium.Platform.model= "+Titanium.Platform.model);

win1.open();

Comments

  1. Wilson Luu 2012-01-17

    Closing bug. Verified fix on: SDK build: 1.9.0.v20120117114633 Titanium Studio, build: 1.0.8.201201131907 OS: Mac OS X Lion (10.7.1) Device: iphone 4S (5.0.1)

JSON Source