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:
create new nativescript-application (without using template)
create new folder named "my-plugin" i:
- created package.json containing important elements (see below)
- created folder "platforms"
- 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
Post a Comment