Skip to content
This repository was archived by the owner on Nov 17, 2022. It is now read-only.

Add Cocoa Touch Static Libraries documentation. #159

Merged
merged 1 commit into from
Oct 9, 2015

Conversation

e2l3n
Copy link
Contributor

@e2l3n e2l3n commented Oct 7, 2015

Update documentation with information regarding usage of cocoa touch static libraries in plugins for the iOS platform. See PR NativeScript/nativescript-cli#885 .

@e2l3n
Copy link
Contributor Author

e2l3n commented Oct 7, 2015

ping @ikoevska @teobugslayer @vchimev @Fatme

@ErjanGavalji
Copy link
Contributor

👍

@teobugslayer
Copy link
Contributor

👍 and I especially like that "it is imperative" :)

```

* `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`), it is imperative to place all public headers (`.h`) under `include\<Static Library Name>\`. Static libraries should be built for at least the following processor architectures - armv7, arm64, i386.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change the "It is imperative to place" to "you must place".

change the passive structure at the end to "Make sure that the static libraries are built at least for the following processor architectures..."

@e2l3n e2l3n force-pushed the tpopov/static-libs-draft branch from 3a179ed to 20edfcc Compare October 9, 2015 10:09
e2l3n added a commit that referenced this pull request Oct 9, 2015
Add Cocoa Touch Static Libraries documentation.
@e2l3n e2l3n merged commit 7a8d9b7 into production Oct 9, 2015
@slavchev slavchev deleted the tpopov/static-libs-draft branch October 19, 2016 13:25
@lock
Copy link

lock bot commented Aug 27, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Aug 27, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants