简体   繁体   English

第一个小部件在Dashcode中不起作用,但在部署时可以工作。 我可以解决这个问题吗?

[英]First widget doesn't work in Dashcode but does work when deployed. Can I fix this?

I am brand new to Dashcode. 我是Dashcode的新手。 I've created the textbook 'Dashboard Widget Tutorial', using the Countdown template. 我已经使用Countdown模板创建了教科书“ Dashboard Widget Tutorial”。 When I tell Dashcode to Run the widget, the widget window appears briefly. 当我告诉Dashcode运行小部件时,小部件窗口会短暂出现。 (It disappears after less than a second.) After the widget disappears, dashcode reports it as running. (它在不到一秒钟的时间内消失了。)在窗口小部件消失之后,短代码将其报告为正在运行。 If I ask Dashcode to Pause, it acknowledges with the log message 'Pausing at the next opportunity'. 如果我要求Dashcode暂停,它将以日志消息“在下一个机会暂停”进行确认。 There's no further feedback until I typically tell Dashcode to Stop after several minutes. 没有进一步的反馈,直到我通常告诉Dashcode在几分钟后停止。

If I Deploy to Dashboard, the widget works OK. 如果我部署到仪表板,则该小部件可以正常工作。 That's my current work-around, although I'm not sure how I'll fare when I want to debug widgets. 这是我当前的解决方法,尽管我不确定要调试小部件时的状况。

I am using Dashcode 3.0.5 on Lion (10.7.4). 我在Lion(10.7.4)上使用Dashcode 3.0.5。

There's an existing question on Stack Overflow First widget works in Dashcode but not when deployed . Stack Overflow First小部件在Dashcode中有效,但在部署时无效,这是一个现有问题。 That is not what's happening to me, I have the 'opposite' problem. 那不是我发生的事情,我有“对立”的问题。

I had the same problem. 我有同样的问题。 I guess version 3.0.5 is not working with Lion. 我猜3.0.5版不适用于Lion。

I solved downloading version 3.0.4 ( DashCode for Xcode - March 2012 ) 我解决了下载版本3.0.4的问题( 适用于Xcode的DashCode-2012年3月

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM