[
https://issues.apache.org/jira/browse/CB-5949?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13887584#comment-13887584
]
Kelvin Dart commented on CB-5949:
---------------------------------
Hi Andrew,
My apologies - yes this is a typo (edited). I updated to 3.3.1-0.3.0 as of this
morning (I didn't realise this version was out - so thanks!) but still no luck
unfortunately.
When I open up my Xcode project after the failure - the framework is listed but
it's red (i.e. indicating that Xcode cannot link back to it). When I open the
Plugins folder in the Xcode project - my custom framework is not there (I'm not
sure if this is meant to be the case).
The only way I know of solving it, is to create a new cordova project which
isn't always ideal as I am sure you can appreciate - I'm not sure how to debug
the CLI otherwise I would do to try to further ascertain the problem.
Thanks,
Kelvin
> framework custom="true" doesn't always pick up my custom framework
> ------------------------------------------------------------------
>
> Key: CB-5949
> URL: https://issues.apache.org/jira/browse/CB-5949
> Project: Apache Cordova
> Issue Type: Bug
> Components: CLI, iOS
> Affects Versions: 3.3.0
> Environment: Mac OS X Mavericks 10.9.1; Xcode 5; Cordova 3.3.1-0.1.2.
> Reporter: Kelvin Dart
> Labels: CLI, custom, framework, ios, plugin
>
> I have a plugin I have developed which has a custom framework (the plugin
> works fine, etc. and if I run it outside of the CLI, no problems).
> I have created plugin.xml to reflect all custom attributes which I need, and
> one of those tags in plugin.xml is:
> <framework src="src/ios/myframework.framework" custom="true">
> And this works fine when adding it etc.
> I cannot be sure of the steps to replicate exactly. But somewhere along the
> line, the directory become corrupted (as far as I am aware, through no fault
> of my own) and as a result, Cordova is not building correctly unless I
> manually add in the framework into Xcode (which is not ideal) - so that my
> source file can compile.
> I can provide you with my project - however my code is confidential so I
> would need to liaise with a Cordova contributor directly.
> If not, I can follow some debugging instructions to ascertain, but I have not
> figured out which script handles the plugin.xml parsing.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)