Skip to content

Include .m/.h files in plugin #885

@NathanaelA

Description

@NathanaelA

Is there a way to include .m/.h files in a plugin/project without turning it into a cocoapod? The method listed in #62, #144, #145 no longer work (including the https://github.com/teachme707/sample-iOS-StaticLibs/) original sample-ios-staticlibs project that one of those links to.

In my plugin I tried created a sub-folder of the platforms/ios and adding my .m/.h file to it and creating a modulemap; and it appears to not be picked up by the cli anymore.

The issue is I have a static cocoapod; which links to another static cocoapod. I need to extend this cocaopod; but attempting to create it causes a dynamic vs static linking issues with the NativeScript application. If I could create a .m/.mm file that is linked into to the NS app and is linked to the cocoapod as normal; then I can create an extends function that uses the static cocoapod functionality.

Metadata

Metadata

Assignees

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