I was going to start learning the Swift programming language, and for that, I was going to install Xcode. But I found out that Xcode is only available for macOS, and I have a computer that uses Windows. Is there any way to get Xcode or any software on which I can code in Swift language? Is there any other IDE for Swift other than Xcode?
The xcode swoftware is only available on MacOS. There is a lot of online IDE where you can code in swift like this one. But with this kind of tool you wont be able to create a user interface. It is not possible to create a user interface on any other operating system than MacOS. If you really want to create an application with a user interface then you can always setup a virtual machine with MacOS running on it, install Xcode and start coding ;)
I try to follow this guide:
http://code.google.com/p/iphone-dev/wiki/Building
it wants me to build LLVM from source, but I already have one installed in Ubuntu using apt-get, why they want me to compile from source? can I use the one provided by Ubuntu community? if not, how will they coexist? should I uninstall apt-installed llvm first?
The guide you're looking at is several years out of date, and will most likely not work. (In fact, there are a ton of frustrated comments suggesting that it hasn't worked since at least 2011, as the Mac OS X 10.4u SDK is no longer available for download.)
The only supported platform for iOS development is Mac OS X. I would strongly recommend that you use that platform if you want to do iOS development, as basically all tutorials you will find online will assume that's what you're using.
That all being said, if the instructions were otherwise correct, you would still need to build LLVM separately from the version provided by Ubuntu, as iOS devices use ARM CPUs, and the distribution's LLVM will only compile binaries for your system (probably either x86 or x86-64).
This question already has answers here:
How can I develop for iPhone using a Windows development machine?
(42 answers)
Closed 9 years ago.
Is there a way to develop ios applications in windows?
How can i setup Xcode on Windows?
You can do this using VMWare on windows but for that you need to have Windows machine with good configuration.
But its having following drawback
1 You cant use latest MAC version
2 Its not possible to build app on device
3 and finally its very slow.
Correct me if i'm wrong.
This following information is taken from the following answer by mipadi written a few years ago. It is still relevant now:
"Xcode is written in Objective-C and takes advantage of a number of
OS X frameworks, so porting it to Windows would require porting all
the frameworks on which Xcode relies..
Also, Xcode also uses a number of programming tools that would have to
be ported to Windows as well (although some of them already are).
There are multiple reasons why X-Code isn't readily available on
Windows:
Most development of Objective-C frameworks takes place on OS X, and
a lot of the frameworks aren't open-source and thus can't be ported
to Windows (they'd have to be rewritten).
There are some open-source frameworks that could be used on Windows
-- for example, OS X's AppKit and Foundation frameworks are (mostly) available as part of the GNUstep project -- but these
frameworks
aren't widely used or supported on Windows, and sometimes lack
capabilities found in their OS X counterparts."
It is also possible to use xCode on Windows via. a Virtual Machine; however, the result will not be what you want. It will be slow, and as you won't have access to many of the important frameworks, iOS development will be out of the question.
If you just want to program Objective-C on Windows as a means of learning the language, I advise downloading Codeblocks - see this documentation in regard to configuring the Objective C Compiler on it.
You can't use XCode on Windows. I tried a few months ago for 2-3 days to make it work on windows and i finally bought a mac.
Windows is not a suported platform for Apple, but some people seems to have found a workaround:
http://ipodtoucher55.blogspot.com.es/2010/12/installing-ios-sdk-and-xcode-on-windows.html
I suppose only virtualising Mac on windows pc is the way or get a Hacintosh.
I was reading some sort of article stating you need Mac OS X to develop iPhone apps.
Is there really such a restriction?
Can't you just download the SDK (and the iOS developer program) IDE to Windows?
Yes, you do need Mac OS X for that. Xcode (SDK) will only work on Mac OS X.
However, if the legal part for you is not really important you can install Mac OS X on your normal PC. Just google "Hackintosh".
You don't need an actual Mac, just Mac OSX. If you don't feel like buying a mac than you can get a hold of the image of Mac OSX and install it onto your PC using Virtual Machine software. I use VMWare to run MacOSX from my Windows 7 x64 machine. VM's are a great way to go, the driers can take a bit to setup, but once everything is working it's perfect. VM's even support ethernet so from within the VM you can browse the web, download mac apps. Install things like XCode or GameSalad. I suggest researching how to use Virtual Machines.
One near-solution is to run OS X in a Virtual Machine on a Windows platform.
You're then developing on XCode on OS X, in a VM on Windows.
This way, you don't have to buy a Mac, or dedicate the hardware to a "Hackintosh".
Of course, this may not be legal by the license terms; I'm only speaking about the technical possibility.
You absolutely need Intel Macintosh hardware to develop iOS apps. The iOS SDK requires Xcode and Xcode only runs on Macintosh machines. I think that any Intel Mac will work, but with how fast things are changing a newer machine will get you longer time before you are forced to upgrade the machine.
Nope, you need an Intel-based Mac to develop apps for iOS. There is no iOS SDK for Windows.
That being said, there might be a way to use something like PhoneGap to develop your app "elsewhere" and then create a suitable package for iOS as well as other mobile platform. I am not familiar enough with PhoneGap and similar tools to know about this angle with any more certainty though.
You can't, there is no iOS SDK for Windows, it only has a Mac version. However, there are various emulators for Mac out there that you can try to install onto Windows. I've tried this before and it did work, however the performance was really poor. If you really wanted to do iOS development. I would strongly suggest you to actually purchase a Mac.
One year later...
I am not familiar with the prerequisites for developing native iOS apps, but wanted to add the possibility of creating a hybrid mobile application. Usually even then one needs the native tools and SDKs for building the wrapper application. But PhoneGap provide a cloud-based build service, which seems to do the job:
"What about developer accounts and SDKs? Do I need to set those up
before starting with PhoneGap Build?
No! But you might want to install some of the SDK emulators if you
don’t own a particular device that you want to test a build for."
Source: PhoneGap Build service
I have not tested the service myself. Just wanted to give an additional path to consider.
To be clear for iPhone apps development required Mac Computers. Xcode and iOS SDK to lead through the app development.Objective-C is the programming language which is most required for iOS app development to build apps. And to be frank, there is a difference between iOS and OS X. iOS and OS X share more framework. So porting app works from OS X to iOS is possible with a little work. If you are a cocoa developer you would be adapt to these frameworks easier.
Check for more information: developer.apple.com/library/ios/documentation/Miscellaneous/Conceptual/iPhoneOSTechOverview/Introduction/Introduction.html#//apple_ref/doc/uid/TP40007898
You can just install MacOS X on windows platform with the help of VMWare which you can use both of operating systems simultaneously side by side.
If you try develop iOS app with cordova like tools, you can simply build with the required SDK and compile it as iOS app then test it on your iPhone or any virtual emulators.
So this is an old question but also the first to appear for me in Google and I finally found a legal way. In 2020 you can go with MacInCloud, costs one dollar an hour for a basic plan. You can code everything elsewhere and then just use the cloud service to deploy the final steps in Xcode. Don't know about installing on your own ipad for testing, haven't gotten there yet.
Yes, you´re gonna need a MacBook or alike to develop for iOS. In my opinion, one of the biggest problems of developing apps for iOS is that you regularly have to buy a new MacBook (or another Mac based technology computer), since over time the most current version available of xCode for your already recently outdated OS X becomes incompatible with the newest iOS.
I've seen conflicting information on this. If I'm using RhoHub (Rhodes) to build an iPhone application, do I need to have a Mac in front of me or use their SDK with some kind of virtualized trickery? Or does Rhodes include a native Windows solution for testing/deployment?
I'm currently in a Windows XP environment.
You would need a Mac. The documentation states that:
iPhone versions of Rhodes apps need to
be built on Mac machines.
Additional Prerequisites for
iPhone are:
Mac OS X 10.5 (Leopard) or greater (Snow Leopard)
the iPhone SDK installed (Apple only lets you submit apps for 3.0 or
higher, so that is also required for
Rhodes, starting with Rhodes 1.2)
the XCode IDE(highly recommended but not actually required)
Refer to this document: http://wiki.rhomobile.com//index.php?title=Building_Rhodes_on_Supported_Platforms#Build_Application_with_XCode
It looks like iPhone app development is now possible in Windows.
http://www.infoworld.com/d/developer-world/rhomobile-brings-iphone-app-dev-windows-pcs-100?source=footer