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

Shazron Abdullah commented on CB-13112:
---------------------------------------

An aside (but related), these two functions shouldn't be part of a generic 
node-xcode pbxProj parser:
https://github.com/alunny/node-xcode/blob/078625f16c102372965cc5a4f6a8f7a5145d36aa/lib/pbxProject.js#L85-L110

(these are highly Cordova specific, and should be a mixin/extension).
This leads to code like this: 
https://github.com/alunny/node-xcode/blob/078625f16c102372965cc5a4f6a8f7a5145d36aa/lib/pbxProject.js#L229-L232



> <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
> 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
(v6.4.14#64029)

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

Reply via email to