cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrey Sharapov (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CB-12582) Plugin's Cocoapods don't persist if another plugin is added after it
Date Mon, 26 Feb 2018 07:50:00 GMT

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

Andrey Sharapov edited comment on CB-12582 at 2/26/18 7:49 AM:
---------------------------------------------------------------

I think i've get this bug too.
 I have automated build process on dedicated server for my projects.
 I have no plugins/ and platforms/ directories at start of build, just only config.xml and
package.json with versions of plugins and platforms (engines).

So, i use next versions:
 cordova 7.1.0
 cordova-ios 4.5.3
 phonegap-plugin-push 2.1.0

This is just what server does:
 1. cordova platform add ios
 2. cordova build ios --release --device

After run i see in log:
{code:java}
ld: library not found for -lGoogleToolboxForMac
clang: error: linker command failed with exit code 1 (use -v to see invocation)

** ARCHIVE FAILED **
{code}
Then i can do again:

1. cordova platform rm ios
 2. cordova platform add ios
 3. cordova build ios --release --device

And it's really ok.
 But this is not a good solution for automated process.


was (Author: sharupoff):
I think i got this bug too.
I have automated build process on dedicated server for my projects.
I have no plugins/ and platforms/ directories at start of build, just only config.xml and
package.json with versions of plugins and platforms (engines).

So, i use next versions:
cordova 7.1.0
cordova-ios 4.5.3
phonegap-plugin-push 2.1.0

This is just what does server:
1. cordova platform add ios
2. cordova build ios --release --device

After run i see in log:

{code}
ld: library not found for -lGoogleToolboxForMac
clang: error: linker command failed with exit code 1 (use -v to see invocation)

** ARCHIVE FAILED **
{code}

Then i can do again:

1. cordova platform rm ios
2. cordova platform add ios
3. cordova build ios --release --device

And it's really ok.
But this is not a good solution for automated process.

> 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: cordova-ios
>    Affects Versions: cordova-ios@4.3.1, 6.5.0
>            Reporter: Kyle Kirbatski
>            Assignee: Shazron Abdullah
>            Priority: Major
>              Labels: backlog
>             Fix For: cordova-ios@4.5.5
>
>         Attachments: 0001-exec-purgeProjectFileCache-when-pod-install.patch
>
>
> 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
(v7.6.3#76005)

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


Mime
View raw message