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

Andrew Grieve resolved CB-5778.
-------------------------------

    Resolution: Duplicate

This was very recently fixed, but has not yet been released. Very likely we'll 
have a tools release this week, which will include the fix.

> `cordova prepare` should build project with relative paths to custom 
> frameworks
> -------------------------------------------------------------------------------
>
>                 Key: CB-5778
>                 URL: https://issues.apache.org/jira/browse/CB-5778
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: 3.3.0
>            Reporter: Adam George
>
> Thanks so much for adding the new "custom frameworks" feature for plugins in 
> 3.3.0.
> I've found an issue with it though.  When you build/prepare the iOS project, 
> the path to the iOS framework is absolute.
> That's not cool, because if I commit the `platforms` directory to version 
> control  (which I don't like to do, but I currently have to due to other 
> build issues), anyone else who checks it out in a different location the 
> framework will not be found.
> Basically, I have a plugin like so:
> /plugins/
>   /com.idblueplugin
>      /src
>         /ios
>             /frameworks
>                /IDBLUE.framework
>             plugin.xml
> Inside plugin.xml I have a reference to the framework:
> <framework src="src/ios/frameworks/IDBLUE.framework" custom="true" />
> When I build the project, I would expect it should create a relative path to 
> that custom framework:
> FRAMEWORK_SEARCH_PATHS = (
>     "$(inherited)",
>     "../../platforms/ios",
> );
> But instead it creates an absolute path like this:
> FRAMEWORK_SEARCH_PATHS = (
>     "$(inherited)",
>      "/Users/asgeo1/Projects/myproject/cordova/platforms/ios",
> );



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to