From 20edfcc720e04e87bf1b11e5e2512120dffa3bd8 Mon Sep 17 00:00:00 2001 From: Toma Popov Date: Wed, 7 Oct 2015 12:09:30 +0300 Subject: [PATCH] Add Cocoa Touch Static Libraries documentation. --- plugins.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/plugins.md b/plugins.md index bc8ea0567..b3d9b6e65 100644 --- a/plugins.md +++ b/plugins.md @@ -99,12 +99,16 @@ my-plugin/ │ └── AndroidManifest.xml └── ios/ ├── MyiOSLibrary.framework - └── Info.plist + ├── Info.plist + ├── MyStaticiOSLibrary.a + └── include/ + └── MyStaticiOSLibrary/ + └── ... ``` * `platforms\android\libs`: This directory contains any native Android libraries packaged as `*.jar` packages. During the plugin installation, the NativeScript CLI will copy these files to `lib\Android` in your project and will configure the Android project in `platforms\android` to work with the library. * `platforms\android\MyAndroidLibrary`: This directory contains a native Android library with a `project.properties` file. During the plugin installation, the NativeScript CLI will copy these files to `lib\Android` in your project and will configure the Android project in `platforms\android` to work with the library. -* `platforms\ios`: This directory contains native iOS dynamic libraries (`.framework`). During the plugin installation, the NativeScript CLI will copy these files to `lib\iOS` in your project and will configure the Android project in `platforms\ios` to work with the library. +* `platforms\ios`: This directory contains native dynamic iOS Cocoa Touch Frameworks (`.framework`) and Cocoa Touch Static Libraries (`.a`). During the plugin installation, the NativeScript CLI will copy these files to `lib\iOS` in your project and will configure the iOS project in `platforms\ios` to work with the libraries. In case the plugin contains a Cocoa Touch Static Library (`.a`), you must place all public headers (`.h`) under `include\\`. Make sure that the static libraries are built at least for the following processor architectures - armv7, arm64, i386. ### Package.json Specification