-
-
Notifications
You must be signed in to change notification settings - Fork 198
Open
Description
it seems that after removing the lib/iOS directory we fail to consume plugins containing a static libraries. According to the doc a plugin containing a static library should have the following structure:
my-plugin/
├── ...
└── platforms/
└── ios/
├── MyStaticiOSLibrary.a
└── include/
└── MyStaticiOSLibrary/
└── Header1.h
└── Header2.h
└── ...
When processing such a plugin the CLI should add the path to MyStaticiOSLibrary.a binary to the project library search paths but it doesn't happen. As a result the build fails with:
ld: library not found for -lMyStaticiOSLibrary
Environment:
CLI, tns-core-modules, ios-runtime -> 3.0.0
Steps to reproduce:
- Create a blank app ->
tns create MyApp - Create a plugin with the folder structure described above
- Add the plugin to the app ->
tns plugin add my-plugin - Run the app:
tns run ios