Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-23786

iOS10: Logs not working on iOS 10 devices.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: Release 5.5.0
    • Component/s: iOS, Tooling
    • Environment:

      iPhone 6 (10.0) beta 6
      
Mac OSX El Capitan 10.11.6
      Studio: 4.7.0.201607250649
      Ti SDK: 5.4.0.v20160608165242
      
Appc NPM: 4.2.7
      Appc CLI: 5.4.0.GA
      
Xcode 8 beta 6
      Node v4.4.4

    • Story Points:
      21
    • Sprint:
      2016 Sprint 21 Tooling

      Description

      Steps to reproduce:

      1. Use the environment above.
      2. Create a new project appc new
      3. Use the app.js below.
      4. Run the application and click the button on the screen

      App.js

      var win = Ti.UI.createWindow({
        backgroundColor: 'white',
        exitOnClose: true,
        fullscreen: false,
        layout: 'vertical',
        title: 'ERROR'
      });
       
      var button = Titanium.UI.createButton({
         title: 'Click',
         top: 50,
         width: 100,
         height: 50
      });
      button.addEventListener('click',function(e)
      {
         Ti.API.info("########### Info");
         Ti.API.warn("########### Warn");
         Ti.API.error("########### Error");
       
      });
       
      win.add(button);
      win.open();
      

      Actual

      No logs are shown after:

      [TRACE] :  ** BUILD SUCCEEDED **
      [INFO] :   Finished building the application in 14s 652ms
      [INFO] :   Installing app on device: Eggs
      [INFO] :   App successfully installed on device: Eggs
      Please manually launch the application
      [TRACE] :  updating tiapp metadata with Appcelerator Platform...
      [TRACE] :  Uploaded tiapp metadata with Appcelerator Platform!
      

      Expected

      This is what the iPhone 6 iOS 10 simulator shows:

      -- Start simulator log -------------------------------------------------------
      [WARN] :   ########### Warn
      [INFO] :   ########### Info
      [ERROR] :  ########### Error
      [TRACE] :  updating tiapp metadata with Appcelerator Platform...
      [TRACE] :  Uploaded tiapp metadata with Appcelerator Platform!
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cbarber Chris Barber
                Reporter:
                jlongton Josh Longton
                Reviewer:
                Chee Kiat Ng (Inactive)
                Tester:
                Harry Bryant
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Titanium SDK/CLI <> Titanium Mobile
                    Synced with:
                    TIMOB-10026
                    Sync status:
                    ERROR
                    Last received:
                    Last sent:

                    Git Source Code