You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Braden Shepherdson (JIRA)" <ji...@apache.org> on 2013/09/11 15:20:52 UTC

[jira] [Commented] (CB-4789) "$ cordova build ios" not copying plugins into Xcode project

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

Braden Shepherdson commented on CB-4789:
----------------------------------------

Interesting. By any chance, does your project begin with lowercase x, y or z? I see you're using Cordova-cli 3.0.9, though, which includes a fix for that. Not sure what's going on.

I note that these native code files are not supposed to be copied on cordova build, nor on cordova prepare, but at plugin installation time.

In contrast, the Javascript files are copied on prepare (build = prepare+compile), so that they're getting copied but native code isn't, doesn't tell us much.

Did you get any errors when installing a plugin? What commands were you trying? Are the native code files elsewhere in your platforms/ios directory?
                
> "$ cordova build ios" not copying plugins into Xcode project
> ------------------------------------------------------------
>
>                 Key: CB-4789
>                 URL: https://issues.apache.org/jira/browse/CB-4789
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI
>         Environment: Mac OSX 10.8.4, Cordova CLI 3.0.9, Xcode build tools 4.6.3 (also tried Xcode 5.0 build tools).
>            Reporter: Owen
>            Assignee: Braden Shepherdson
>            Priority: Minor
>
> None of the Objective-C files (e.g. CDVDevice.h, CDVDevice.m) are copied into the Xcode plugins folder. I've also tested with Phonegap CLI 3.0.0-0.14.3 which also doesn't copy the files during build.
> I'm working around this with custom build script. But I find it unusual that I couldn't find anyone with the same issue. It would suggest it's my environment but I'm certain I'm using the correct Xcode build tools, etc.
> Note: The Javascript for the plugins ARE copied during build.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira