[ 
https://issues.apache.org/jira/browse/CB-4993?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14576323#comment-14576323
 ] 

Drew Horn commented on CB-4993:
-------------------------------

I'm seeing this in the latest version of cordova/cordova-ios/plugman as well, 
but it isn't related to manually adding frameworks.

Basically, if you remove a plugin (in this case I have a custom plugin) and 
re-add it, any sources and/or frameworks aren't re-added in Xcode (I'm using 
Xcode 6.3.2).

My plugin references two frameworks, and has a header/implementation file. None 
are re-added when installing new versions of the plugin. The workaround is to 
remove and re-add ios as a platform every time I update my plugin.

> plugman doesn't add iOS frameworks if user has added one manually
> -----------------------------------------------------------------
>
>                 Key: CB-4993
>                 URL: https://issues.apache.org/jira/browse/CB-4993
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugman
>            Reporter: Andrew Grieve
>         Attachments: Screen Shot 2013-10-03 at 3.43.59 PM.png, Screen Shot 
> 2013-10-03 at 3.44.14 PM.png, Screen Shot 2013-10-03 at 3.44.28 PM.png, 
> Screen Shot 2013-10-03 at 3.44.39 PM.png, Screen Shot 2013-10-03 at 3.44.50 
> PM.png, Screen Shot 2013-10-10 at 8.39.53 AM.png, Screen Shot 2013-10-10 at 
> 9.10.23 AM.png, Screen Shot 2013-10-10 at 9.10.40 AM.png
>
>
> Repro steps:
> {code}
> cordova create foo com.google.foo foo
> cd foo
> cordova platform add ios
> {code}
> At this point the frameworks look as in the first screenshot
> {code}
> cordova plugin add org.apache.cordova.camera
> {code}
> Notice the frameworks are added fine (screenshot)
> {code}
> cordova plugin rm org.apache.cordova.camera
> cordova plugin add org.apache.cordova.camera
> {code}
> Notice you can remove & re-add just fine. The frameworks are good at this 
> point.
> Now, through Xcode, add in "AddressBook.framework", and then remove & re-add 
> the plugin
> {code}
> cordova plugin rm org.apache.cordova.camera
> cordova plugin add org.apache.cordova.camera
> {code}
> The frameworks get removed just fine again, but they are not re-added anymore.



--
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