Appcelerator Live View Console.Log不起作用 [英] Appcelerator Live View Console.Log not working

查看:94
本文介绍了Appcelerator Live View Console.Log不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这很奇怪.自从升级到iOS10和最新的Appcelerator SDK(5.5.0)以来,当我在通过USB连接到Mac的iPhone 6s Plus上进行测试时,我什至无法获得一个简单的console.log("hi!")来在控制台中显示任何内容,使用LiveView.

Odd one this. Ever since upgrading to iOS10 and the latest Appcelerator SDK (5.5.0), I can't get even a simple console.log("hi!") to show anything in the console when I'm testing on an iPhone 6s Plus connected to my Mac via USB, using LiveView.

我尝试将其更改为Ti.API.info("hi!")-我认为这是旧方法,但无济于事.如果将其更改为alert("hi!"),则可以正常工作.但是,它不像以前的console.log有用,在开发必须在连接的设备(以我的相机为例)上进行测试的东西时.

I've tried changing it to Ti.API.info("hi!") - which I believe is the old way to do it - to no avail. If I change it to alert("hi!"), that works fine. However, it's not as useful as console.log used to be when developing things which MUST be tested on a connected device (the camera, in my case).

我已经对此进行了Google搜索,并在StackOverflow上进行了广泛的搜索.

I've Googled this, plus done extensive searching on StackOverflow.

这可能是太新了,以至于没有人注意到.

It may be that this is so new that no-one has noticed yet.

任何人都可以帮忙吗?

推荐答案

这是一个已知问题.苹果改变了他们记录数据的方式. Appcelerator SDK必须适应此更改.我很确定他们会尽快修复它.您必须等待更新.

It's a known issue. Apple changed something with the way they log data. The Appcelerator SDK has to be adapted to this changes. I'm pretty sure they'll fix it asap. You'll have to await an update.

问候

这是相应的jira票证( https://jira.appcelerator.org/browse/TIMOB-23786 )

Here is the corresponding jira ticket (https://jira.appcelerator.org/browse/TIMOB-23786)

这篇关于Appcelerator Live View Console.Log不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆