Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Mobile Development > BOOK: Professional iPhone Programming with MonoTouch and .NET/C#
Password Reminder
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Professional iPhone Programming with MonoTouch and .NET/C#
This is the forum to discuss the Wrox book Professional iPhone Programming with MonoTouch and .NET/C# by Wallace B. McClure, Rory Blyth, Craig Dunn, Chris Hardy, Martin Bowling ; ISBN: 978-0-470-63782-1
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional iPhone Programming with MonoTouch and .NET/C# section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old January 25th, 2011, 02:55 PM
Registered User
Join Date: Jan 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Examples aren't running in iPhone Simulator 4.0

Almost all of the examples immediately exit w/o an error.

I have iPhone Simulator 4.0, XCode 3.2.3, and MonoDevelop 2.4.1.

Specifically, I am trying to run the iPad examples in chapter 13.

I've read through the other posts related to examples not running. My issue appears different from the Chapter 10 segfault do to the UIImagePicker, but seems related to the Chapter 4 issue. So I have tried to set the target simulator so that it's not on default, but it still doesn't work.

Reply With Quote
  #2 (permalink)  
Old February 7th, 2011, 03:33 AM
Registered User
Join Date: Feb 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default I am unable to run the sample from this book

Whenever I run the application, I always get the following error.


Unhandled Exception: System.ArgumentNullException: Argument cannot be null.
Parameter name: value
at MonoTouch.iPhoneSimulatorRemoteClient.DTiPhoneSimu latorSessionConfig.set_SimulatedSystemRoot (MonoTouch.iPhoneSimulatorRemoteClient.DTiPhoneSim ulatorSystemRoot value) [0x00000] in <filename unknown>:0
at MonoTouch.Simulator.SimController..ctor (System.String app_path, System.String sdk_version, System.String device_type, System.String[] args) [0x00000] in <filename unknown>:0
at MTouch.Main (System.String[] args) [0x00000] in <filename unknown>:0
Reply With Quote
  #3 (permalink)  
Old April 13th, 2011, 04:01 AM
Registered User
Points: 19, Level: 1
Points: 19, Level: 1 Points: 19, Level: 1 Points: 19, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Nov 2008
Location: , , Thailand.
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to embarus
Default I can solve problem with change sdk version in Project option

I found the same problem and got the message which my machine doesn't have sdk version 3.0 installed.
So, just change sdk version in project option.
Everthing works as expected.

Hope this may help.
Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem running the examples alatriste BOOK: Professional Microsoft Robotics Studio ISBN: 978-0-470-14107-6 1 September 19th, 2009 06:47 PM
Running the examples on a stand alone computer MustfaZfar BOOK: ASP.NET AJAX Programmer's Reference : with ASP.NET 2.0 or ASP.NET 3.5 ISBN: 978-0-470-10998-4 0 December 13th, 2007 01:49 PM
Error - Running examples BadKarma BOOK: Professional XNA Game Programming: For Xbox 360 and Windows ISBN: 978-0-470-12677-6 0 October 31st, 2007 05:44 PM
Running examples in text jleeheikkinen BOOK: Professional Crystal Reports for VS.NET 2 January 15th, 2004 05:33 PM

All times are GMT -4. The time now is 02:28 PM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.