[ 
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 11/21/17 1:39 PM:
----------------------------------------------------------------

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

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.


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

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

After run i see in log:

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

** ARCHIVE FAILED **
```

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: [email protected], 6.5.0
>            Reporter: Kyle Kirbatski
>            Assignee: Shazron Abdullah
>              Labels: backlog
>             Fix For: [email protected]
>
>
> 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.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to