Skip to content

CocoaPods /platforms/ios/Podfile generation #1096

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
jasssonpet opened this issue Oct 22, 2015 · 5 comments
Closed

CocoaPods /platforms/ios/Podfile generation #1096

jasssonpet opened this issue Oct 22, 2015 · 5 comments
Assignees
Labels

Comments

@jasssonpet
Copy link
Contributor

From @NathanaelA on October 22, 2015 14:51

This generated Podfile (tns command builds it) is built it can get lots of duplicates. Each time you do something that internally does a tns prepare ios or if you manually do a tns prepare ios you will get a duplicate begin, pod and end lines into this file.
Maybe this file should be truncated before adding them back. As when I was fixing my pod file; I ended up getting several of the same pods in the file, but all with different :path variables which then caused it to choke...

Copied from original issue: NativeScript/ios-jsc#382

@NathanaelA

This comment was marked as abuse.

@rosen-vladimirov
Copy link
Contributor

@NathanaelA Have you tried our latest build from release branch. We'll be glad for any assist that could confirm it works as expected now?

@NathanaelA

This comment was marked as abuse.

@dtopuzov
Copy link
Contributor

dtopuzov commented Jun 1, 2016

Steps to reproduce:

  1. $ tns create myApp
  2. $ cd myApp
  3. $ tns plugin add nativescript-iqkeyboardmanager
  4. $ tns prepare ios
  5. $ cat platforms/ios/myApp/Podfile -> there is something like this:

Begin Podfile

pod 'IQKeyboardManager', '~> 4.0.0'

End podfile

  1. $ tns prepare ios
  2. $ cat platforms/ios/myApp/Podfile -> lines above are repeated 2 times

@pkoleva
Copy link
Contributor

pkoleva commented Jun 6, 2016

Could not reproduce following the steps above in {N} 2.0.1

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

No branches or pull requests

7 participants