ios - How to create a Podfile recursively containing pods -


i need write cocoapods-plugin contains braintree pod (to able access braintree sdk). plugin should available in nativescript. did following:

  1. create new nativescript-application (without using template)

  2. create new folder named "my-plugin" i:

    1. created package.json containing important elements (see below)
    2. created folder "platforms"
    3. created new folder "ios" in "platforms"-folder containing podfile (see below).

then navigated new application , used tns platform add ios. after successful used tns plugin add ../my-plugin , tns build ios.

the result following error:

unable satisfy following requirements:  - `braintreedropin` required `podfile`  specs satisfying `braintreedropin` dependency found, required higher minimum deployment target. 

my pod --version says 1.3.1.

the podfile content (that full podfile):

pod "braintreedropin" 

the package.json content:

{   "name": "my-plugin",   "version": "0.0.1",   "nativescript": {     "platforms": {       "ios": "3.1.0"     }   } } 

i followed official guide here: https://docs.nativescript.org/plugins/cocoapods

i need build more code around plugin, "my-plugin" being involved in new nativescript application going plugin containing code works braintree ios sdk. got feeling missing 1 step in integration (but not know one). can tell me, did wrong? or not possible let application use plugin involving pod?

tns doctor did not detect issues btw.


Comments

Popular posts from this blog

PHP and MySQL WP -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

go - golang pprof for c library code -