[ 
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 [email protected], 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:
[email protected]
cordova-plugin-camera@2
[email protected]


> 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 [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]

Reply via email to