[TIMOB-18352] Remove iOS and Android detection from node-appc and "ti info"
| GitHub Issue | n/a |
|---|---|
| Type | Improvement |
| Priority | Medium |
| Status | Closed |
| Resolution | Won't Fix |
| Resolution Date | 2020-01-30T09:38:15.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | CLI |
| Labels | cb-tooling |
| Reporter | Chris Barber |
| Assignee | Praveen Innamuri |
| Created | 2015-01-09T04:40:42.000+0000 |
| Updated | 2020-01-31T11:31:13.000+0000 |
Description
The iOS and Android detection code in node-appc is very old and flagged for deprecation by TIMOB-18351.
In Titanium CLI 4, we will remove these modules from node-appc. This means that
ti info will no longer report iOS or Android information when there is not a selected Titanium SDK. Furthermore, Titanium CLI 4 will need to drop support for Titanium SDK 3.1.x and older.
The main reason here is the detected values in from node-appc's code is not the same as what the current code detects. For example, iOS Simulators are now based on a GUID whereas Titanium SDK 3.0 & 3.1 the iOS Simulator selection is based on --sim-version, --sim-type, --retina, and so on.
[~cbarber], is this still valid?
[~cng] Yup.
At this point, I don't see any reason to do this any more. The next Titanium CLI does not use node-appc, so it becomes a non-issue.