开发者

Xcode missing inline test results

开发者 https://www.devze.com 2022-12-12 02:56 出处:网络
Everywhere there are pretty pictures of failing tests shown inline in the code editor, like in Peepcodes Objecti开发者_JS百科ve-C for Rubyist screencast and in apples own technical documentation:

Everywhere there are pretty pictures of failing tests shown inline in the code editor, like in Peepcodes Objecti开发者_JS百科ve-C for Rubyist screencast and in apples own technical documentation:

Xcode missing inline test results

(source: apple.com)

When I build my test-target, all I get is a little red icon down in the right corner, stating something went wrong. When clicking on it, I get the Build Results, where I can start to hunt for test results.

Do anyone have a clue on what´s wrong?


Have a look at your Xcode preferences. Under the Building tab you want to change your settings for Message Bubbles.

This works for Xcode 3.1 which it looks like the image you've shown. Xcode 3.2 has a different style of bubble and doesn't have this preference.


Press "Cmd =" to travel between build results, you should see a warning.

Also, that specific warning seems like it's from the static analyzer - you turn that on by going to project preferences and checkmarking "run static analyzer" or by using the "Build and Analyze" option.


Try Cmd-Shift-H to show all message bubbles.

0

精彩评论

暂无评论...
验证码 换一张
取 消