Appcelerator Live View Console.Log not working

与世无争的帅哥 提交于 2019-12-11 05:05:39

问题


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.

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

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

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

Can anyone help?


回答1:


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.

Greetings

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



来源:https://stackoverflow.com/questions/39643207/appcelerator-live-view-console-log-not-working

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!