Skip to content

3rd party static libraries #62

@PanayotCankov

Description

@PanayotCankov

We need to support static libraries added in a NativeScript for iOS project.

One of the use cases is adopting existing codebase that is not available in source form.
We had request for the MagTek hardware support. They do distribute officially a static library.

We are not certain for implementation:

  1. Ideally the NativeScript users will use a library add like command with the lib*.a file, point the headers that declare the exposed APIs and provide additional flags if necessary. Since static libraries does not declare their dependencies the developers may also need to resolve them.
  2. As an alternative we can let the clients set up the Xcode project and link the library themselves as well as set header search paths, and we can try to simply generate metadata for these headers and expect that the static libraries are setup properly.
  3. We can also investigate if we can provide tooling to wrap static libraries in shared frameworks that work with the already existing tooling.

Create small examples using:

Also we should keep an eye on this issue, and try to satisfy its prerequisites. (pods for example)

Add out of the box support for:

News/Rumors
Google is embracing CocoaPods to bring its services to iOS developers

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions