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:
- 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.
- 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.
- 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
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:
library addlike command with thelib*.afile, 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.Create small examples using:
Static LibraryAlso 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