Skip to content
Permalink
Browse files
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)
  • Loading branch information
piotr-cz authored and dpogue committed Apr 14, 2019
1 parent a5cd232 commit 9cd117e7c1f50c5f9406af043f6230875465623c
Showing 1 changed file with 4 additions and 4 deletions.
@@ -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" />

0 comments on commit 9cd117e

Please sign in to comment.