22 Dec 2008, 21:32

Collin VanDyck (4 posts)

I’m going through the book, and in section 3.6 I ran into a bit of a problem. When I add additional text fields and wire them up through the connection inspector for the WebView, the built application crashes when I hit enter on one of the new text fields. The original text field still works properly, though, leading me to believe that there is something that I have missed.

The WebView connections:


The attributes of the second text field:


Any ideas? I ran the app through the debugger, and instead of an exception or backtrace, I receive this message:

The Debugger has exited due to signal 2 (SIGINT).The Debugger has exited due to signal 2 (SIGINT).

thanks very much


22 Dec 2008, 21:37

Collin VanDyck (4 posts)

Weird. I tried going to the original URL, but sent from the second text field, and that worked. So it seems that it is crashing when trying to load “http://www.cnn.com”. However, this works just fine with Safari. Boggle!

22 Dec 2008, 21:47

Collin VanDyck (4 posts)

OK, after further debugging, apparently removing the Flash plugin under /Library/Internet Plug-Ins fixes the crashing problem. I re-installed the Flash 10 player, and then the application commenced crashing in the same manner as before.

22 Dec 2008, 22:14

Collin VanDyck (4 posts)

Update - it seems as if it is a Flash 10 problem. After uninstalling via the official Flash uninstaller:


And then installing the Flash 9 player, the SimpleBrowser works with cnn.com and other Flash sites that I tested out. Hope this helps someone.


22 Dec 2008, 22:37

Daniel H Steinberg (97 posts)

Thanks Colin – this is the simplest of Web Browsers and isn’t intended to work with Flash based sites etc. I will add a note to this effect, but really the goal of the web browser example is to motivate your learning of Cocoa programming techniques and not to create a full-featured browser.

I will be more clear with this. Thank you,


13 Jun 2009, 05:37

Greg Borenstein (3 posts)

I’m seeing a similar behaviour only with the additional oddity that the application starts up and runs just fine when rendering flash within Cocoa Simulator.

(Book is great so far by the way; I really liked the comparison in the introduction of getting acquainted with a new neighborhood. I wish that was the approach all intro tech books took!)

  You must be logged in to comment