Skip to content

tns update ios is not working #4681

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
endarova opened this issue Jun 5, 2019 · 6 comments
Closed

tns update ios is not working #4681

endarova opened this issue Jun 5, 2019 · 6 comments
Assignees
Milestone

Comments

@endarova
Copy link
Contributor

endarova commented Jun 5, 2019

  • CLI: 5.4.0

Steps:

  1. tns create MyApp --js
  2. tns platform add [email protected]
  3. tns platform update ios

Expected: platform ios to be updated to latest version
Actual: Command fails with message:
The content of the current project file: /TestProjects/n12/platforms/ios/n12.xcodeproj/project.pbxproj and the new project file: /var/folders/qf/619q3nkx0fx88gd52_ffmz8hxrr56w/T/runtime-to-update11955-21364-1uegwr7.hyog/framework/PROJECT_NAME.xcodeproj/project.pbxproj is different.
Native Platform cannot be updated.

@paxperscientiam
Copy link

Confirming same experience on Catalina.

@paxperscientiam
Copy link

@miroslavaivanova am i missing something? this is still a problem in version 6.1.2

@DimitarTachev DimitarTachev added this to the 6.2.0 milestone Oct 25, 2019
@DimitarTachev
Copy link
Contributor

Hi @paxperscientiam,

The fix is available in the next version of the CLI (npm i nativescript@next) and will be officially released in [email protected] in a few weeks.

@paxperscientiam
Copy link

@DimitarTachev thanks a lot for the update. For posterity, I'll note that the tried and true approach of removing and re-adding the platform worked for me.

@kryptus36
Copy link

I just closed my duplicate bug, but I'm still seeing this error in my project after upgrading to 6.3.0-2019-10-31-115648-13974

As noted in my other bug, deleting platforms does not fix in my case.

@kryptus36
Copy link

Fixed: I had to run

npm i -g nativescript@next

Note the global flag as opposed to above

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants