-
Notifications
You must be signed in to change notification settings - Fork 103
Open
Description
Hi, I've been trying to use the addStaticLibrary func and had some issues with it:
- I'm not sure about
if (this.hasFile(file.path)) return false;code, since if the lib exists the function just returnsfalse, if I change it toif (!this.hasFile(file.path)) return false;then - In
addToLibrarySearchPathsfunction there is the following code:
if (unquote(buildSettings['PRODUCT_NAME']) != this.productName) continue;
in case of React Native iOS project (I've added fhe file) , this.productName is always $(TARGET_NAME) and continue doesn't happen only for the test target, while happens for the main target, so library isn't added to the main target Library Search Path.
Metadata
Metadata
Assignees
Labels
No labels