cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Hogg (JIRA)" <>
Subject [jira] [Commented] (CB-10382) Build issue cordova-ios 4.0.1 with cordova-plugin-camera
Date Tue, 19 Jan 2016 15:04:39 GMT


David Hogg commented on CB-10382:

Thanks for the direction. 

While this turned out to not actually be a camera issue and rather a versioning/build issue
- it seems to me like there is an issue here in general with the component/plugin architecture
of cordova and incompatible versions. 

Some system where the default 'cordova plugin add XXX' would get the appropriate version for
the specified platform version would be very helpful. For example, the latest versions of
the ios platform no longer supports the screen orientation plugin - but this isn't obvious
until you try to build. The same wth camera (although at least this one has a resolution).
The icons/splashscreens alsp no longer seem to work either without making changes to the xcode
project to find the appropriate resources... It makes for a lot of issues to wade through
when simply upgrading the platform version.

> Build issue cordova-ios 4.0.1 with cordova-plugin-camera
> --------------------------------------------------------
>                 Key: CB-10382
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Camera
>    Affects Versions: 1.2.0
>         Environment: iOS
>            Reporter: David Hogg
> Getting compile error on iOS with camera plugin:
> cordova-plugin-camera/CDVCamera.m:23:9: 'Cordova/NSData+Base64.h' file not found
> This was an issue found last year (CB-9247) that was fixed with the following line, but
now seems to have reappeared.
> #ifndef __CORDOVA_4_0_0
>     #import <Cordova/NSData+Base64.h>
> #endif

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message