Titanium JIRA Archive
Appcelerator Daemon (DAEMON)

[DAEMON-160] ioslib: Versioning of package on npm is causing issues

GitHub Issuen/a
Resolution Date2017-11-17T15:57:40.000+0000
Affected Version/sAppc Daemon 1.0.0
Fix Version/sAppc Daemon 1.0.0
Componentsappcd-plugin-ios, ioslib
ReporterEwan Harris
AssigneeChris Barber



*I know this isn't really a proper ticket but I needed somewhere to dump this* Currently the ioslib version being pulled in is ioslib@2.0.0-beta.3 based off the version range of ^2.0.0-8. This (surprisingly to me) is correct in semver land and 2.0.0-beta.3 is considered to be greater than 2.0.0.-10 https://runkit.com/ewanharris/5a0e34d8e7d5da001228faf7 So currently we're borked and need a way out, here's the possible solutions, in no order.

Bump ioslib to become ioslib@2.0.0-beta.4, replacing 2.0.0.-10

Change the appcd-plugin-ios dependency to next, stay like this

Change the appcd-plugin-ios dependency to next, ask npm nicely to remove ioslib@2.0.0-beta.3 (I dont see why they wouldnt), then eventually move back to ^2.0.0-10 version ranges.

Release ioslib@2.0.1-0, move appcd-plugin-ios to ^2.0.1-0

I vote for 3 or 4 with an added sprinkle of promising to never do -beta.X on npm packages again :)


  1. Ewan Harris 2017-11-17

    [~cbarber] You'll probably see it come in but here's an email notification incase you dont
  2. Chris Barber 2017-11-17

    After discussing with [~eharris], we have decided since ioslib (and androidlib) are dependencies which are libraries and not "products" per se, we will publish ioslib and androidlib using plain old fashion semver without the prerelease tag. In other words, we're shipping 2.0.0. If there are any fixes, we'll bump the minor/patch version.

JSON Source