Titanium JIRA Archive
Alloy (ALOY)

[ALOY-1141] iOS, Jake: Harness project from Studio on iPhone simulators might use wrong Sim version

GitHub Issuen/a
TypeBug
PriorityLow
StatusResolved
ResolutionWon't Fix
Resolution Date2014-10-01T18:56:26.000+0000
Affected Version/sAlloy 1.5.0
Fix Version/sn/a
ComponentsSamples & Templates
Labelsqe-3.4.0, qe-nfc, usability
ReporterFederico Casali
AssigneeTim Poulsen
Created2014-09-17T16:27:40.000+0000
Updated2014-10-02T16:54:08.000+0000

Description

Comments

  1. Tim Poulsen 2014-09-17

    Studio will detect the missing tag and add it for you, setting it to the highest SDK version you have installed. When you open tiapp.xml, you should see a small orange icon (exclamation point in a triangle) next to the SDK version drop-down list indicating that an "invalid" SDK version was detected. As discussed over Flowdock, the SDK version was removed from the HarnessTemplate's tiapp.xml to: * make it easier to test Alloy development with multiple SDK versions * while preventing unwanted changes to the HarnessTemplate from being included in pull requests The change was made as part of the 1.5 release and designed to work well with the jake app:run command.
  2. Federico Casali 2014-09-17

    I think a valid solution for now could be to add a comment in the Jake documentation in the Alloy repo (i.e. specifying the user should open/save tiapp.xml in case using Harness project imported into Studio). I also confirm the correct iPhone simulator is launched when using CLI. 1. Run jake app:setup dir=basics/simple 2. From the Harness project folder, run: ti build -p ios -C <Device_ID> where the device ID is obtained running: ti info -t ios
  3. Tim Poulsen 2014-10-01

    See my comments on ALOY-1137 for workarounds. We may be moving away from jake. Rather than updating the docs on what is a developer-only, and likely rarely used tool in the Alloy repo, I'd rather recommend general users to use the --testapp argument as described in ALOY-1137.

JSON Source