Topic
  • 4 replies
  • Latest Post - ‏2012-11-28T22:01:13Z by barrettj
SystemAdmin
SystemAdmin
2327 Posts

Pinned topic iOS6 problems after patch

‏2012-11-16T15:43:53Z |
Hi all,

I'm still hitting issues with using a WL app on iOS6 even after patching with the iFix. I'm seeing different behavior depending on if I use a project that existed prior to the patch or after it. Both results in a blank white screen on the iOS6 simulator, but I'm seeing different error messages within xcode.

For projects that existed prior to patching, I still get the "2012-11-15 15:46:47.401 JoffreysCoffee23754:c07 Application windows are expected to have a root view controller at the end of application launch" error when attempting to run the iOS6 simulator on xcode.

For projects created after, I get the following error:
cordova.require('cordova/plugin/ios/device').setInfo({"name":"iPhone Simulator","uuid":"35B78715-AAC2-49FE-85BB-37FD4E6C8D6C","platform":"iPhone Simulator","gap":"1.6.1","version":"6.0"}); } catch (e) { return "Error: executing module function 'setInfo' in module 'cordova/plugin/ios/device'. Have you included the iOS version of the cordova-1.6.1.js file?"; } })()
2012-11-15 16:45:42.673 Joffreys25240:c07 PluginResult:toJSONString - {"status":1,"message":"wifi","keepCallback":false}
2012-11-15 16:45:42.673 Joffreys25240:c07 PluginResult toSuccessCallbackString: cordova.callbackSuccess('NetworkStatus0',{"status":1,"message":"wifi","keepCallback":false});
Note that both projects work fine on the iOS 5.1 sim and these issues are purely on iOS 6.0. Anyone else seen similar behavior?

Thanks!
  • SystemAdmin
    SystemAdmin
    2327 Posts

    Re: iOS6 problems after patch

    ‏2012-11-16T16:20:06Z  
    Does this happen with a new WL Project and a new WL App? If not, can you attach a WL Project with the issue or provide steps to reproduce?
  • barrettj
    barrettj
    7 Posts

    Re: iOS6 problems after patch

    ‏2012-11-16T18:10:54Z  
    In additions to Carlos' questions above, would you verify that the iOS6 iFix was successfully applied. To do that, please verify the following in both your failing projects (the one created after applying the iFix, and the pre-existing one):

    1) Under /<project name>/apps/<app name>/iphone/native/Cordova.framework
    a) The file Headers/CDVViewController.h contains the line: - (BOOL) supportsOrientation:(UIInterfaceOrientation)orientation;
    b) The file Cordova is of size 1835215 (as reported by ls -l; Note the old size was 1835115)

    2) Under /<project name>/apps/<app name>/iphone/native/WorklightSDK
    a) The file libWorklightStaticLibProject.a is of size 7398124 (as reported by ls -l; Note the old size was 7163156)
  • SystemAdmin
    SystemAdmin
    2327 Posts

    Re: iOS6 problems after patch

    ‏2012-11-21T15:14:45Z  
    • barrettj
    • ‏2012-11-16T18:10:54Z
    In additions to Carlos' questions above, would you verify that the iOS6 iFix was successfully applied. To do that, please verify the following in both your failing projects (the one created after applying the iFix, and the pre-existing one):

    1) Under /<project name>/apps/<app name>/iphone/native/Cordova.framework
    a) The file Headers/CDVViewController.h contains the line: - (BOOL) supportsOrientation:(UIInterfaceOrientation)orientation;
    b) The file Cordova is of size 1835215 (as reported by ls -l; Note the old size was 1835115)

    2) Under /<project name>/apps/<app name>/iphone/native/WorklightSDK
    a) The file libWorklightStaticLibProject.a is of size 7398124 (as reported by ls -l; Note the old size was 7163156)
    Thanks for the replies. As stated in the original message, neither old nor new projects work. See the original message for details.

    As for below...

    Checked #1a, and it exists in the header file.

    For #1b:
    AARONs-MacBook-Pro:Cordova.framework akshook$ ls -la Cordova
    -r--r--r-- 1 akshook staff 1835215 Nov 15 14:45 Cordova

    For #2a:
    AARONs-MacBook-Pro:WorklightSDK akshook$ ls -l libWorklightStaticLibProject.a
    -r--r--r-- 1 akshook staff 7398124 Nov 15 14:45 libWorklightStaticLibProject.a
    Thanks,
    -A
  • barrettj
    barrettj
    7 Posts

    Re: iOS6 problems after patch

    ‏2012-11-28T22:01:13Z  
    Thanks for the information; it looks like the iFix was successfully applied.

    Do you get the same error running on an actual device?

    Can you attach a failing project so we can try to reproduce it here?