Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Mobile Development > BOOK: Beginning iPhone SDK Programming with Objective-C
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Beginning iPhone SDK Programming with Objective-C
This is the forum to discuss the Wrox book Beginning iPhone SDK Programming with Objective-C by Wei-Meng Lee; ISBN: 978-0-470-50097-2
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning iPhone SDK Programming with Objective-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
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old May 24th, 2011, 01:07 PM
Registered User
Points: 17, Level: 1
Points: 17, Level: 1 Points: 17, Level: 1 Points: 17, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2011
Location: Maryland, USA
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to run the downloaded projects in Xcode 3.2.3?

Downloaded chapter projects for this book from the web site and tried to run them. There is an error pops up that "there is no SDK with name or path "iphoneos3.0". I use xcode 3.2.3. Where the adjustments should be made to make the book projects run?
Reply With Quote
  #2 (permalink)  
Old May 24th, 2011, 11:57 PM
Friend of Wrox
Points: 1,671, Level: 16
Points: 1,671, Level: 16 Points: 1,671, Level: 16 Points: 1,671, Level: 16
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2010
Posts: 298
Thanks: 1
Thanked 62 Times in 60 Posts
Default

I have Xcode 4 and Xcode 3.2.6 installed. The process for updating the SDK is probably the same as 3.2.6. In the Groups & Files pane select (single click) on the project icon (uppermost item in the group) Then either choose File>Get Info or right click or control click and from the context menu choose Get Info.
Choose the Build tab in the info window. Under Architectures there is a row Base SDK Click in the Value column of this row and select, if available,
Latest iOS (iOS version number). Otherwise choose the latest dot update.

You may need to then close Xcode and then reopen the project. It should then build successfully. Closing and reopening is not necessary in Xcode 3.2.6, so you might consider updating Xcode at some point. There is some reorientation needed for Xcode 4, but I have found that workflow has improved a lot. The process is slightly different in Xcode 4. If the "latest" option is available choose it, as future SDK updates will not require you to reset the Base SDK.

Bob
Reply With Quote
  #3 (permalink)  
Old May 25th, 2011, 02:22 PM
Registered User
Points: 17, Level: 1
Points: 17, Level: 1 Points: 17, Level: 1 Points: 17, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2011
Location: Maryland, USA
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Smile Thank you

Thank you for your help, thepianoguy! I followed your instructions and got the downloaded book projects work!
Also I thought about upgrading the XCode version for the latest but afraid to get too many differences in the book directions and the current reality.
Reply With Quote
Reply


Thread Tools
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
How to properly run/import example projects? amccombs BOOK: Professional Android 2 Application Development 0 January 6th, 2011 05:19 PM
Downloaded Example NerdDinner compile and run issues Edward BOOK: Professional ASP.NET MVC 2 0 September 1st, 2010 06:31 PM
Browsed web projects don't appear in recent projects list? Ron Howerton Visual Studio 2008 0 June 23rd, 2010 12:52 PM
OpenGl in Xcode ( I try to run my project that kuzyaded Xcode 0 July 10th, 2007 03:30 AM
No joy making the downloaded sample code run RMagruder BOOK: ASP.NET Website Programming Problem-Design-Solution 3 February 4th, 2006 11:57 PM



All times are GMT -4. The time now is 10:26 PM.


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