EmptyStack
EmptyStack

Reputation: 51374

Can I run Objective-C programs (not iPhone/Mac projects) in Xcode like executing C programs?

I am working in Mac system. Is it possible to run Objective-C programs in Xcode? I am not talking about running iPhone/Mac projects. I am talking about simple Objective-C programs, like we run C programs in C editors. Does Xcode has the provision for this? Or, I have to use some other editors? Which editors I can use?

Please suggest me.. Thanks everyone..

Upvotes: 1

Views: 777

Answers (3)

sss3d
sss3d

Reputation: 181

Foundation is the one that you want

On xcode 4.4 its under OSX -> Application -> Command Line Tool

And change the option to Foundation

Upvotes: 2

EmptyStack
EmptyStack

Reputation: 51374

This SO link from David Gelhar's comment on my question has the answer for this question.

Upvotes: 0

Chuck
Chuck

Reputation: 237010

You don't need Xcode to run a program. You can just execute a program from the command line or by double-clicking. (You also do not need an editor to run a C program.)

Upvotes: 3

Related Questions