You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "jcesarmobile (JIRA)" <ji...@apache.org> on 2015/11/17 16:28:10 UTC

[jira] [Comment Edited] (CB-9978) Error accessing UIWindow when debugging on device

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

jcesarmobile edited comment on CB-9978 at 11/17/15 3:28 PM:
------------------------------------------------------------

I ran from Xcode 6 app, not from the CLI. 
If you mean if I changed the Xcode version used with xcode-select -s /path/to/Xcode6, I didn't, but I have just changed it and tested again and it's still working.

Did you try to use the same code on a non cordova project on the same device and xcode?


Anyway, if it works on Xcode 7, even if we are able to reproduce, I don't think it will be fixed

EDIT: I changed the command line tools version on Xcode -> Preferences -> Locations and it's still working




was (Author: jcesarmobile):
I ran from Xcode 6 app, not from the CLI. 
If you mean if I changed the Xcode version used with xcode-select -s /path/to/Xcode6, I didn't, but I have just changed it and tested again and it's still working.

Did you try to use the same code on a non cordova project on the same device and xcode?


Anyway, if it works on Xcode 7, even if we are able to reproduce, I don't think it will be fixed



> Error accessing UIWindow when debugging on device
> -------------------------------------------------
>
>                 Key: CB-9978
>                 URL: https://issues.apache.org/jira/browse/CB-9978
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 5.1.1
>         Environment: OS X 10.10.5, Xcode 7.1 & Xcode 6.4, iOS 8+, iPod Touch 6th Gen
>            Reporter: Dylan Bettermann
>              Labels: ios, uiwindow
>         Attachments: WindowTest.zip
>
>
> I added iOS code that takes a screenshot of everything in the UIWindow. This functionality works fine when running in the simulator, but when I run the functionality on the device I get some odd behavior.
> When I run on the simulator I am able to convert the UIWindow to a UIImage. I am also able to preview the UIWindow in the Xcode debugger. When running on a device the creation of the UIImage fails. I'm unable to see a preview of the UIWindow in the Xcode debugger.
> Sorry if my description of the error was not clear. Let me know if I can provide more detail.
> Thanks!



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