[ 
https://issues.apache.org/jira/browse/CB-10129?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vladimir Kotikov updated CB-10129:
----------------------------------
    Description: 
This issue was originally reported as a part of CB-10108:

{quote}
It's leaves dupes (see snippet ahead) everytime the plugin is processed, and 
although it doesn't really cause any issues on compilation or runtime, it's 
still a bug.
{noformat}
FRAMEWORK_SEARCH_PATHS = (
        "$(inherited)",
        "\"Tippz/Plugins/cordova-plugin-facebook4\"",
        "\"Tippz/Plugins/cordova-plugin-facebook4\"",
        "\"Tippz/Plugins/cordova-plugin-facebook4\"",
        "\"Tippz/Plugins/cordova-plugin-facebook4\"",
        "\"Tippz/Plugins/cordova-plugin-facebook4\"",
);
{noformat}
{quote}

This could be easily reproduced by creating a blank project with iOS platform 
added (versions doesn't matter, but i have a stable repro with [email protected] 
and [email protected]) and adding any plugin, that contains more than one custom 
framework (for examle _cordova-plugin-facebook4_)

The cause of the issue is the node-xcode module, which doesn't checks, if the 
same path is in FRAMEWORK_SEARCH_PATHS already, when adds a new custom 
framework to project.

  was:
This issue was originally reported as a part of CB-10108:

{quote}
It's leaves dupes (see snippet ahead) everytime the plugin is processed, and 
although it doesn't really cause any issues on compilation or runtime, it's 
still a bug.
{noformat}
FRAMEWORK_SEARCH_PATHS = (
        "$(inherited)",
        "\"Tippz/Plugins/cordova-plugin-facebook4\"",
        "\"Tippz/Plugins/cordova-plugin-facebook4\"",
        "\"Tippz/Plugins/cordova-plugin-facebook4\"",
        "\"Tippz/Plugins/cordova-plugin-facebook4\"",
        "\"Tippz/Plugins/cordova-plugin-facebook4\"",
);
{noformat}
{quote}

This could be easily reproduced by creating a blank project with iOS platform 
added (versions doesn't matter, but i have a stable repro with [email protected] 
and [email protected]) and adding any plugin, that contains more than one custom 
framework (for examle _cordova-plugin-facebook4_)


> Search path for custom framework is duplicated multiple times in 
> FRAMEWORK_SEARCH_PATHS section
> -----------------------------------------------------------------------------------------------
>
>                 Key: CB-10129
>                 URL: https://issues.apache.org/jira/browse/CB-10129
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CordovaLib
>    Affects Versions: 5.4.1
>            Reporter: Vladimir Kotikov
>            Priority: Minor
>              Labels: ios, node-xcode, upstream-issue
>
> This issue was originally reported as a part of CB-10108:
> {quote}
> It's leaves dupes (see snippet ahead) everytime the plugin is processed, and 
> although it doesn't really cause any issues on compilation or runtime, it's 
> still a bug.
> {noformat}
> FRAMEWORK_SEARCH_PATHS = (
>       "$(inherited)",
>       "\"Tippz/Plugins/cordova-plugin-facebook4\"",
>       "\"Tippz/Plugins/cordova-plugin-facebook4\"",
>       "\"Tippz/Plugins/cordova-plugin-facebook4\"",
>       "\"Tippz/Plugins/cordova-plugin-facebook4\"",
>       "\"Tippz/Plugins/cordova-plugin-facebook4\"",
> );
> {noformat}
> {quote}
> This could be easily reproduced by creating a blank project with iOS platform 
> added (versions doesn't matter, but i have a stable repro with [email protected] 
> and [email protected]) and adding any plugin, that contains more than one custom 
> framework (for examle _cordova-plugin-facebook4_)
> The cause of the issue is the node-xcode module, which doesn't checks, if the 
> same path is in FRAMEWORK_SEARCH_PATHS already, when adds a new custom 
> framework to project.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to