Skip to content
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

Prepare iOS step fails after removing and re-adding local plugin #6853

Closed
speigg opened this issue Feb 2, 2019 · 3 comments
Closed

Prepare iOS step fails after removing and re-adding local plugin #6853

speigg opened this issue Feb 2, 2019 · 3 comments

Comments

@speigg
Copy link
Contributor

speigg commented Feb 2, 2019

Environment
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):

  • CLI: 5.1.1
  • Cross-platform modules: 5.1.2
  • iOS Runtime: 5.1.1
  • Plugin(s): local

Describe the bug
I can install a local plugin (containing a CocoaPod project) with:

tns plugin add ./plugins/my-plugin

Then I can prepare prepare/build and everything works fine.
If I then remove the plugin, and re-add it, and then prepare again, I get this error:

cp: cannot create directory '/Users/gheric/GitHub/argon-app/platforms/ios/argonapp/app/App_Resources': No such file or directory

If I look at that path, it doesn't exist, as the error says (instead, the "App_Resources" folder is renamed to "Resources": '/Users/gheric/GitHub/argon-app/platforms/ios/argonapp/app/Resources, which is the as the first prepare).

To Reproduce
Instructions above

Expected behavior
tns prepare iOS should not be looking for the "App_Resources" folder in the platforms directory, and should prepare the platform folder as normal.

Sample project
https://github.com/argonjs/argon-app/tree/xr

@speigg
Copy link
Contributor Author

speigg commented Feb 2, 2019

I'll move this to the proper nativescript-cli repo with more details

@speigg speigg closed this as completed Feb 2, 2019
@speigg
Copy link
Contributor Author

speigg commented Feb 2, 2019

Ugh, it seems it was this issue again NativeScript/nativescript-cli#3028
(.git within a local dependency)...

@lock
Copy link

lock bot commented Feb 2, 2020

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Feb 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant