cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kyle Kirbatski (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-12582) Plugin's Cocoapods don't persist if another plugin is added after it
Date Thu, 23 Mar 2017 17:48:42 GMT

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

Kyle Kirbatski commented on CB-12582:
-------------------------------------

There isn't an issue with {{readdirsync}}, I'm just saying that's how Cordova determines the
plugin installation order.

The project will compile successfully if you place the urbanairship plugin last in the list
of plugins. This isn't a fix, though. And I'm not even 100% certain it will compile successfully.
It really depends on the ordering that cordova installs the plugins. If you watch the plugin
install ordering and the urbanairship plugin is last to be installed, then the project will
compile. It just so happens that if you update the config.xml and put the plugin last in the
list it will be installed last, most of the time, I've had instances where it wasn't.

> Plugin's Cocoapods don't persist if another plugin is added after it
> --------------------------------------------------------------------
>
>                 Key: CB-12582
>                 URL: https://issues.apache.org/jira/browse/CB-12582
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: cordova-ios@4.3.1, 6.5.0
>            Reporter: Kyle Kirbatski
>            Assignee: Shazron Abdullah
>            Priority: Blocker
>             Fix For: cordova-ios@4.4.0
>
>
> I was trying to use the urbanairship-cordova plugin but was unable to because the frameworks
added by Cocoapods (referenced from the plugin's xml) were not being found for linking. After
some investigation it appears that if a plugin is added after a plugin that uses cocoapods
then the changes made by cocoapods are removed by cordova.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message