Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS Objective-C Basics (Retired) Fundamentals of C Compile and Run

xcode: can't run hello world

Didn't expect to have an issue this early on. Anyway, when I hit run in Xcode for the hello world project with Doug, i get the following alert:

"Your Mac runs a version of OS X which is lower than your project's minimum deployment target.

Change your project's minimum deployment target or upgrade your version of OS X."

I'm not in the position to upgrade operating systems at the moment so if anyone could help me understand what is going on and how to go about changing the minimum deployment target, that would be great.

Thanks tons in advance, Bryan

3 Answers

Because I don't have my Mac backed up to an external at the moment.

Rafal Truszkowski
Rafal Truszkowski
331 Points

I realize how late this response is, but hopefully it will help others in the future.

In Xcode, with the project open, click on "MyFirstCProgram" on the left panel. In the middle panel, you will see lots of project settings. Click on the "All" button on the top left corner (instead of "Basic") to see more options. Then, under the "Architectures" section (first section), change the "Base SDK" to your Mac OS X version.

This should fix the problem