You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Adam George (JIRA)" <ji...@apache.org> on 2014/01/13 02:54:50 UTC
[jira] [Created] (CB-5778) `cordova prepare` should build project
with relative paths to custom frameworks
Adam George created CB-5778:
-------------------------------
Summary: `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)