Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-25004] Build: ioslib is getting removed in the 6_1_X build process

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2017-07-26T14:08:47.000+0000
Affected Version/sRelease 6.1.2
Fix Version/sRelease 6.1.2
ComponentsiOS
Labelsn/a
ReporterEwan Harris
AssigneeChris Barber
Created2017-07-21T10:45:12.000+0000
Updated2017-07-26T16:11:27.000+0000

Description

ioslib is getting removed in the build process when pruning the dependencies to remove dev only deps, this is because the checked in package version is at 1.4.7, but the package.json of the repo states ^1.4.8, which 1.4.7 does not meet the range for. ioslib 1.4.8 shipped in 6.1.1.GA, but it was reverted to 1.4.7 in this commit https://github.com/appcelerator/titanium_mobile/commit/47ded30e2d93f3ed58d85c413e55bdc71d83ecfd We need to either update again or correct the version in the package.json This is the reason for the 'Cannot find ioslib' failures on Jenkins, it does not affect an SDK that is published as the build will fail to test that SDK

To verify

No proper steps here really

Is Jenkins running happy (more than once)

Does running npm i --only=dev then npm prune --production keep ioslib in the node_modules dir?

Comments

  1. Ewan Harris 2017-07-21

    To update the dependency to 1.4.9 : https://github.com/appcelerator/titanium_mobile/pull/9229
  2. Chris Barber 2017-07-25

    New TiSDK 6_1_X PR: https://github.com/appcelerator/titanium_mobile/pull/9252
  3. Ewan Harris 2017-07-26

    Jenkins ran through happy, changes verified to exist in 6.1.2.v20170726060818 Closing ticket

JSON Source