Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
3.3.0
-
None
-
None
Description
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",
);
Attachments
Issue Links
- duplicates
-
CB-5701 iOS frameworks search paths should not be absolute paths
- Closed