Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-24750] Only configure platforms that are deployment targets

GitHub Issuen/a
TypeImprovement
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2017-05-31T19:27:43.000+0000
Affected Version/sRelease 6.1.0
Fix Version/sRelease 6.1.1
ComponentsCLI
Labelsn/a
ReporterGary Mathews
AssigneeGary Mathews
Created2017-05-30T17:29:22.000+0000
Updated2017-10-25T15:53:14.000+0000

Description

- When building an app all possible platforms are configured before each build, including ones that are not targeted - We should only configure the platforms that are being targeted for that build

Comments

  1. Gary Mathews 2017-05-30

    master: https://github.com/appcelerator/node-titanium-sdk/pull/8
  2. Chris Barber 2017-06-23

    FYI: https://github.com/appcelerator/node-titanium-sdk/pull/10
  3. Ewan Harris 2017-06-27

    This got pulled into 6.1.1 through https://github.com/appcelerator/titanium_mobile/pull/9177, marking as such
  4. Ewan Harris 2017-06-27

    Verified using Ti SDK: 6.1.1.v20170626160851 Appc CLI: 6.2.2 Appc NPM: 4.2.9 Appc Studio: 4.9.0.201705302345 I caused failures in the build process in the following ways

    Windows as an authoring OS

    Android builds

    Moved the winappdeploycmd executable to a different location

    Ran a build for Android

    Windows builds

    Added a bad require to the android _build.js file

    Ran a build for Windows

    OSX as an authoring OS

    Android builds

    Added a bad require to the ios _build.js file

    Ran a build for Android from Studio and CLI

    OS builds

    Added a bad require to the android _build.js file

    Ran a build for iOS (using the iphone, ipad and ios --platform aliases)

    In all cases, on 6.0.4.GA the build would error out due to the other platform failing. On 6.1.1.v20170626160851 the build would not fail when the other platform fails

JSON Source