You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by dp...@apache.org on 2019/04/14 06:05:16 UTC

[cordova-common] branch master updated: Add example usage of podspec declarations

This is an automated email from the ASF dual-hosted git repository.

dpogue pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cordova-common.git


The following commit(s) were added to refs/heads/master by this push:
     new 9cd117e  Add example usage of podspec declarations
9cd117e is described below

commit 9cd117e7c1f50c5f9406af043f6230875465623c
Author: Piotr <he...@piotr.cz>
AuthorDate: Wed Apr 3 11:07:02 2019 +0200

    Add example usage of podspec declarations
    
    When trying to find more information about new `<podspec>` tag deprecating `<framework type="podspec" />` I found this example usage.
    However it doesn't specify how to use declarations so I've copied example from [specs fixture](https://github.com/apache/cordova-common/blob/rel/3.1.0/spec/fixtures/plugins/org.test.plugins.withcocoapods/plugin.xml#L37-L47)
---
 src/PluginInfo/PluginInfo.js | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/PluginInfo/PluginInfo.js b/src/PluginInfo/PluginInfo.js
index afc8809..6f6d68e 100644
--- a/src/PluginInfo/PluginInfo.js
+++ b/src/PluginInfo/PluginInfo.js
@@ -253,10 +253,10 @@ function PluginInfo (dirname) {
     //     <source url="https://github.com/brightcove/BrightcoveSpecs.git" />
     //     <source url="https://github.com/CocoaPods/Specs.git"/>
     //   </config>
-    //   <pods>
-    //   <pod name="PromiseKit" />
-    //   <pod name="Foobar1" spec="~> 2.0.0" />
-    //   <pod name="Foobar2" git="git@github.com:hoge/foobar1.git" />
+    //   <pods use-frameworks="true" inhibit-all-warnings="true">
+    //     <pod name="PromiseKit" />
+    //     <pod name="Foobar1" spec="~> 2.0.0" />
+    //     <pod name="Foobar2" git="git@github.com:hoge/foobar1.git" />
     //     <pod name="Foobar3" git="git@github.com:hoge/foobar2.git" branch="next" />
     //     <pod name="Foobar4" swift-version="4.1" />
     //     <pod name="Foobar5" swift-version="3.0" />


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org