Is Xcode available for Windows 10? - swift

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 ;)

Related

swift for windows platform and linux platform development

As I known Cocotron GNUStep are the objectivec sdk for windows and linux.
Just wonder if apple's new language Swift can work with Cocotron GNUStep on windows and linux.
Your comment welcome
No. Currently Apple distributes Swift as part of Xcode6 betas, which only work on OS X. There are hints that Swift will be open sourced when it is finished, at which point it is up to the community to port it to different platforms. No doubt that will happen.
Apple open-sourced Swift earlier this year and has recently announced a Linux port (64-bit only). However it says that one needs to build an app using Xcode on OSX if you want to submit it to the App Store.

Xcode on windows for ios development [duplicate]

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.

Do you need Mac OS X to develop iPhone apps?

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 Have A project developed using XCode on MAC OS,How Could I build it On Linux?

I Have A project developed using XCode on MAC OS, for some special reason, I want copy entire project to the Linux operating system and go on developing on linux.
How can I develop and build it on Linux?
I am developing an I-Phone project, I using iOS libraries, I (wish to) develop and build on linux, run on iphone
No, it is not currently possible to build Native iOS applications using the native Cocoa Libraries and Objective-C on platforms other than Mac OS X.
You have two issues.
First, are you using OS X only libraries, for example Foundation or AppKit? You could potential develop a Cocoa program on OS X and build it against OpenStep on Linux, but at this point you would need to be very selective in which functionality you use, to the point where it is probably impossible.
Assuming that you have fully cross-platform code, then yes you can build it on Linux, but you will need to move away from the Xcode build system. You can create an Xcode project using an external build system, and then proceed to use something like scons, ccmake, or even make. That way the same build files with work both on OS X and Linux. Or you can continue to use the Xcode build system on OS X and keep a parallel build tool for use on Linux.

Develop iPhone applications on Windows (with Virtualbox etc)

This has been asked before, I know, but the answers are a bit dated.
I think I've read somewhere that the Snow Leopard EULA has changed and that you now are allowed to install the OS on a Virtual Machine of some sort.
I know I should buy a Mac and I might do so, but I want to try Objective-C in practice before I do that.
I want to develop an application for iPhone, but if the IDE is as nasty as they say I might skip it altogether. I just want to have a look at it first.
So, is it possible do install what you need to develop iPhone apps on a Windows based machine as host?
Yes. You can run OSX in a VM. I use MonoTouch and Visual Studio to write my applications in C# with a shared directory between the two. Write code in VS, build and debug on OSX within the simulator. It would also work with Objective-C if that's the path you take. If you're not a Mac Guy I would recommend MonoTouch though, it makes development MUCH faster.
Yes , it is possible to run OSX snow leopard on your PC.
I recommend that only for evaluation purposes (if you dont have access to mac development machines, friends/family/etc.).
Your shopping list would include:
a legit copy of snow leopard.
your choice of virtual machine (in my opinion , virtualbox is great, altough it doesnt support widescreen at the moment).
some guide for combining the above (google is your friend).
you will eventually need some drivers for your pc peripherals (sound card , usb etc).
I would start the research from step 3..
Once you're done , you will see that you need a very fast pc to develop, as Waiting for the apps to compile could be frustrating at times.
I tried to install OSX on my pc just for evaluation purposes , getting to know the SDK and the OS before I buy a machine. Actually waiting for the new series of MacBook Airs to buy one..