Skip to content

[2.5.*] tns run always add latest platform  #2782

@tsonevn

Description

@tsonevn

From @3rror404 on May 4, 2017 15:52

I'm still using N 2.5.4 as I don't have time to upgrade to version 3 yet.

After I removed the iOS platform and re-added I noticed that the platform had been upgraded to 3.0.0. After removing the platform again and reinstalling the 2.5.0 version with tns platform add ios@2.5.0 I can no longer run my project.

Project successfully prepared (ios)
Searching for devices...
Building project...
Expected "// !$*UTF8*$!" but "<" found.
# run ios

I've tried numerous things including removing iOS and installing the 3.0.0 version. Removing the hooks, node_modules and platforms folders all with the same result.

Any ideas?

┌──────────────────┬─────────────────┬────────────────┬──────────────────┐
│ Component        │ Current version │ Latest version │ Information      │
│ nativescript     │ 2.5.4           │ 3.0.0          │ Update available │
│ tns-core-modules │ 2.5.2           │ 3.0.0          │ Update available │
│ tns-android      │ 3.0.0           │ 3.0.0          │ Up to date       │
│ tns-ios          │ 2.5.0           │ 3.0.0          │ Update available │
└──────────────────┴─────────────────┴────────────────┴──────────────────┘

Copied from original issue: NativeScript/NativeScript#4115

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions