Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Do you need Xcode to program iPhone apps?

Tags:

xcode

iphone

ipod

I'm interested in making apps for the iphone. I was wondering if it were possible to make apps, WITHOUT Xcode. the only reason is because I'm dirt poor, and can't afford an Apple.

like image 672
shadow Avatar asked Aug 22 '10 02:08

shadow


People also ask

Do all iOS apps use Xcode?

Xcode is the only supported way to develop apps by Apple. So if you're interested in building iOS or MacOS apps you must use it. There are third-party solutions that don't require you to use Xcode, however these are not supported by Apple and there are often issues with these solutions.

Do I have to use Xcode?

You won't have to install Xcode because it comes preinstalled. You can also do pay-as-you-go so it's a pretty low commitment. Some people complain that it's slow but you can try it out for yourself since it's only about a buck an hour!

Do you need a Mac to create iPhone apps?

You absolutely need Intel Macintosh hardware to develop iOS apps. The iOS SDK requires Xcode and Xcode only runs on Macintosh machines.

Is it necessary to install Xcode on Mac?

No. You'd need to install Xcode only if you wish to build native apps for macOS, iOS/iPadOS, watchOS or tvOS. Compiling/Building C/C++ programs does not require you to have a full Xcode installation. Save this answer.


2 Answers

If it's games you're interested in developing, then another option might be to take a look at Unity (http://unity3d.com/). This would let you develop on the PC for free in a friendly environment for a beginner. If you then develop something that you decide you want to publish on iPhone, then at that point you could invest in a Mac and just rebuild the Unity app for iPhone on that.

Also, Unity lets you write scripts in both C# and Java so you wouldn't have to learn Obj-C.

like image 71
Zoobity Bop Avatar answered Oct 27 '22 15:10

Zoobity Bop


The short answer is no. The long answer is "not exactly," but you can get started in some ways while you're working on getting access to a Mac you can do the work you'd like to do on.

"XCode" is more or less really two things:

(1) an IDE

(2) a toolchain with a C/ObjC/C++ compiler (really a version of gcc) and a big library of apps

You don't have to use #1 in order to build iPhone Apps, though it's genuinely helpful. You can get by with #2.

But without #2, you're going to have a hard time building an App you can sell in the App store.

So, it depends on what your goal is.

If it really is to build an app and get it out there, the easiest path is probably going to be to find some way to get access to a machine running OS (probably 10.5 and up) you can do development on. That might be talking a friend who has one into letting you spend some scheduled time on it, or it might be working and saving up for a used intel-based Mac mini (probably something you could get for $300), or it might be turning a PC you've got into a Hackintosh (or maybe setting up a Hackintosh VM on the PC if you're sharing it with others who might not want it transformed thusly :).

If your goal is to start learning how to do things while you work out how you're going to do the above, though, the good news is that it's not hard to get a hold of tools that will help you learn the technologies/languages involved in iPhone apps. Like I said earlier, Apple's compiler is really just a version of gcc. You can probably install gcc on your machine and write objective C programs with it. You could also look into GNUStep which could help you get familiar with a lot of the concepts and practices underlying how the Cocoa libraries work for the iPhone and OS X. And you could learn OpenGL ES, which would be great help if you ever end up working on an iPhone game.

like image 44
Weston C Avatar answered Oct 27 '22 17:10

Weston C