You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "David Douglas (JIRA)" <ji...@apache.org> on 2016/01/06 14:39:39 UTC
[jira] [Commented] (CB-10179) Camera plugin doesn't work with iOS
[ https://issues.apache.org/jira/browse/CB-10179?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15085533#comment-15085533 ]
David Douglas commented on CB-10179:
------------------------------------
Encountering an intermittent issue with Camera plugin on iOS since updating to Cordova ios@4.0.1, Camera@2 and WKWebView. This is a very strange camera bug as it happens now and again while testing and I'm having trouble recreating reliably.
What happens:
After taking a photo and tapping 'Use Photo' this sometimes results in getting stuck on a white screen. The only option is to close the app at this stage.
What should happen:
Return to webview screen.
Xcode Error log:
```
Snapshotting a view that has not been rendered results in an empty snapshot. Ensure your view has been rendered at least once before snapshotting or snapshot after screen updates.
Communications error: <OS_xpc_error: <error: 0x19bae4af0> { count = 1, contents =
"XPCErrorDescription" => <string: 0x19bae4e50> { length = 22, contents = "Connection interrupted" }
}>
```
Device is iPhone 6+ with iOS9 and I'm using:
ios@4.0.1
cordova-plugin-camera@2
cordova-plugin-wkwebview-engine@1.0.1
> 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
> Labels: cordova-6.0.0
>
> Made a new Cordova project.
> cordova platform add ios@4.0.0
> 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: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org