mattetti / MacRuby--The-Definitive-Guide

MacRuby: The Definitive Guide - code repo
http://oreilly.com/catalog/0636920000723
119 stars 15 forks source link

Chapter 10 is broken? #1

Open RobertLowe opened 13 years ago

RobertLowe commented 13 years ago

Fresh checkout, xcode 4, 10.6.7

After agreeing to geocode:

      GNU gdb 6.3.50-20050815 (Apple version gdb-1518) (Sat Feb 12 02:52:12 UTC 2011)
      Copyright 2004 Free Software Foundation, Inc.
      GDB is free software, covered by the GNU General Public License, and you are
      welcome to change it and/or distribute copies of it under certain conditions.
      Type "show copying" to see the conditions.
      There is absolutely no warranty for GDB.  Type "show warranty" for details.
      This GDB was configured as "x86_64-apple-darwin".tty /dev/ttys004
      [Switching to process 46249 thread 0x0]
      location: <+43.65385468, -79.39835491> +/- 159.00m (speed -1.00 mps / course -1.00) @ 2011-06-24 22:13:34 -0400
      2011-06-24 22:17:24.994 AroundMe[46249:903] /Users/viral/Library/Developer/Xcode/DerivedData/AroundMe-cumneuxgoiqygqeulvcvyildjvfm/Build/Products/Debug/AroundMe.app/Contents/Resources/AppDelegate.rb:56:in `gowalla_req:': undefined method `latitude' for #<Boxed:0x2005ae140> (NoMethodError)
        from /Users/viral/Library/Developer/Xcode/DerivedData/AroundMe-cumneuxgoiqygqeulvcvyildjvfm/Build/Products/Debug/AroundMe.app/Contents/Resources/AppDelegate.rb:21:in `block'
        from /Users/viral/Library/Developer/Xcode/DerivedData/AroundMe-cumneuxgoiqygqeulvcvyildjvfm/Build/Products/Debug/AroundMe.app/Contents/Resources/location_manager.rb:33:in `locationManager:didUpdateToLocation:fromLocation:'
        from /Users/viral/Library/Developer/Xcode/DerivedData/AroundMe-cumneuxgoiqygqeulvcvyildjvfm/Build/Products/Debug/AroundMe.app/Contents/Resources/rb_main.rb:23:in `<main>'
      location: <+43.65385058, -79.39835850> +/- 159.00m (speed 0.00 mps / course -1.00) @ 2011-06-24 22:17:24 -0400
      2011-06-24 22:17:25.828 AroundMe[46249:903] /Users/viral/Library/Developer/Xcode/DerivedData/AroundMe-cumneuxgoiqygqeulvcvyildjvfm/Build/Products/Debug/AroundMe.app/Contents/Resources/AppDelegate.rb:56:in `gowalla_req:': undefined method `latitude' for #<Boxed:0x2004d9ca0> (NoMethodError)
        from /Users/viral/Library/Developer/Xcode/DerivedData/AroundMe-cumneuxgoiqygqeulvcvyildjvfm/Build/Products/Debug/AroundMe.app/Contents/Resources/AppDelegate.rb:21:in `block'
        from /Users/viral/Library/Developer/Xcode/DerivedData/AroundMe-cumneuxgoiqygqeulvcvyildjvfm/Build/Products/Debug/AroundMe.app/Contents/Resources/location_manager.rb:33:in `locationManager:didUpdateToLocation:fromLocation:'
        from /Users/viral/Library/Developer/Xcode/DerivedData/AroundMe-cumneuxgoiqygqeulvcvyildjvfm/Build/Products/Debug/AroundMe.app/Contents/Resources/rb_main.rb:23:in `<main>'
      location: <+43.65385058, -79.39835850> +/- 159.00m (speed 0.00 mps / course -1.00) @ 2011-06-24 22:17:31 -0400
      2011-06-24 22:17:31.652 AroundMe[46249:903] /Users/viral/Library/Developer/Xcode/DerivedData/AroundMe-cumneuxgoiqygqeulvcvyildjvfm/Build/Products/Debug/AroundMe.app/Contents/Resources/AppDelegate.rb:56:in `gowalla_req:': undefined method `latitude' for #<Boxed:0x200519680> (NoMethodError)
        from /Users/viral/Library/Developer/Xcode/DerivedData/AroundMe-cumneuxgoiqygqeulvcvyildjvfm/Build/Products/Debug/AroundMe.app/Contents/Resources/AppDelegate.rb:21:in `block'
        from /Users/viral/Library/Developer/Xcode/DerivedData/AroundMe-cumneuxgoiqygqeulvcvyildjvfm/Build/Products/Debug/AroundMe.app/Contents/Resources/location_manager.rb:33:in `locationManager:didUpdateToLocation:fromLocation:'
        from /Users/viral/Library/Developer/Xcode/DerivedData/AroundMe-cumneuxgoiqygqeulvcvyildjvfm/Build/Products/Debug/AroundMe.app/Contents/Resources/rb_main.rb:23:in `<main>'
suchasurge commented 13 years ago

Latest nightly build (macruby_nightly-2011-07-15) and BridgeSupport Preview 3 works for me. But I had to uninstall previous versions.