ASF subversion and git services commented on CB-13112:

Commit 7de12c84607355cdf68f4825dc6603351747158a in cordova-ios's branch 
refs/heads/master from [~shazron]
[ https://gitbox.apache.org/repos/asf?p=cordova-ios.git;h=7de12c8 ]

CB-13112 - <resource-file> should not create a new file reference on each 
"cordova prepare" (#329)

Added new ios-config-xml project fixture based off cordova-ios@4.4.0 template. 
The old one doesn't reflect current project structure.

    Added failing test for multiple adds of the same <resource-file> tag
    Fixed failing test in prepare.js

    Fix failing test due to new ios-config-xml project template in addPlugin
    Don't need to prefix 'Resources' and 'Plugins' to the files that are from 
those groups. The file reference 'sourceTree' relies on its parent group, in 
the new template structure.

> <resource-file> should not create a new file reference on each "cordova 
> prepare"
> --------------------------------------------------------------------------------
>                 Key: CB-13112
>                 URL: https://issues.apache.org/jira/browse/CB-13112
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-ios
>            Reporter: Shazron Abdullah
>            Assignee: Shazron Abdullah
> See 
> https://github.com/phonegap/phonegap-plugin-push/issues/1826#issuecomment-317750559
> Race condition is the result of multiple file references, which results in a 
> CopyPlistFile error.
> Only create one file reference, not multiples. 
> {code}
> cordova create foo
> cd foo
> cordova plugin add phonegap-plugin-push@2.0.0-rc4
> touch GoogleService-Info.plist
> nano config.xml (add GoogleService-Info.plist file, see 
> https://github.com/phonegap/phonegap-plugin-push/blob/master/docs/INSTALLATION.md#installation-requirements)
> cordova platform add ios
> cordova build ios
> {code} 

This message was sent by Atlassian JIRA

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

Reply via email to