[
https://issues.apache.org/jira/browse/CB-10179?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15053556#comment-15053556
]
Shazron Abdullah commented on CB-10179:
---------------------------------------
The camera plugin has released version 2.0.0 which already fixes this problem,
but `latest` in npm is still at 1.2.0, because of Visual Studio.
For now you will have to do:
`cordova plugin add cordova-plugin-camera@2`
> Camera plugin doesn't work with iOS
> -----------------------------------
>
> Key: CB-10179
> URL: https://issues.apache.org/jira/browse/CB-10179
> Project: Apache Cordova
> Issue Type: Bug
> Components: iOS
> Affects Versions: 4.0.0
> Reporter: Raymond Camden
>
> Made a new Cordova project.
> cordova platform add [email protected]
> cordova plugin add cordova-plugin-camera
> cordova emulate
> Gives:
> ** BUILD FAILED **
> The following build commands failed:
> CompileC
> build/HelloCordova.build/Debug-iphonesimulator/HelloCordova.build/Objects-normal/i386/CDVCamera.o
> HelloCordova/Plugins/cordova-plugin-camera/CDVCamera.m normal i386
> objective-c com.apple.compilers.llvm.clang.1_0.compiler
> (1 failure)
> Error: Error code 65 for command: xcodebuild with args:
> -xcconfig,/Users/raymondcamden/Desktop/trash/dec10/platforms/ios/cordova/build-debug.xcconfig,-project,HelloCordova.xcodeproj,ARCHS=i386,-target,HelloCordova,-configuration,Debug,-sdk,iphonesimulator,build,VALID_ARCHS=i386,CONFIGURATION_BUILD_DIR=/Users/raymondcamden/Desktop/trash/dec10/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/raymondcamden/Desktop/trash/dec10/platforms/ios/build/sharedpch
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]