I need help. I have Windows 7 Professional (64-bit), and I am starting to learn Objective C from a book. I want to somehow install a Objective C compiler on Windows and I followed this link:
Objective C for Windows
But unfortunately it is not working. I tried exactly the way the answer was given and I am on the shell command prompt, but how do I find my helloworld.exe file? Where is it?
This question already has answers here:
IDE For Objective-C On Linux [closed]
(4 answers)
Game programming on Objective-C and linux
(4 answers)
Closed 9 years ago.
How can I program in Objective-C under Linux? Is there any compiler or IDE avaiable that allows me to program in that language?
There's this great website called GNUstep. They have some API's that help you with Objective C on Linux. The download & installation instruction page is here.
Yes, this question is a duplicate by the way. Check the links provided by Josh Caswell above to find even more detailed answers.
Recent GCC compilers (current version is 4.8 in october 2013) can be used as Objective C compilers (perhaps for some old dialect of Objective C). On Debian or Ubuntu, install some gobjc package, e.g. aptitude install gobjc-4.7
However, this does not mean you can build with them programs for Apple hardware.
This question already has answers here:
Run Mac OS applications on Windows? [closed]
(3 answers)
Closed 9 years ago.
Hello I made an OS X app and i want it also to be useable on Windows(windows8).
Is there a way to let it run on Windows?
It doesn't matter if I have to compile it again with an other compiler as Xcode uses.
The code is written in objective C.
If you are able to recompile it, then you can use Cocotron to set up a cross-toolchain targeting Windows (this project also comes with the necessary runtime support, such as a port of AppKit).
This question already has answers here:
Closed 11 years ago.
Possible Duplicate:
Game programming on Objective-C and linux
I know that developing iPhone apps (painlessly, at least) pretty much requires a Mac. However, is it possible to develop normal desktop applications using Objective-C in Linux? For example, could I make a game using a development library for Objective-C, and release it for Linux, rather than iOS?
There are a lot of normal desktop applications which use GNUstep (free version of Cocoa API) on Linux.
For games you can try sdlobjc — SDL binding for Objective-C.
There is even a Linux distribution called Étoilé which uses GNUstep based user environment and all own GUI applications writen in Objective-C.
If you want to learn how to program in Objective-C using GNUstep on Linux (or cygwin) there are some possible problems:
You must use cygwin in windows to build the application. Which means that it:
a) some applications can be slowed down because of cygwin's translations of POSIX API calls to Win32 API calls. For example fork() call will be translated in Win32's CreateProcess call and some others and will be less efficient than in UNIX.
b) your application must be distributed with cygwin's dll
c) your application can't be 64bit (at least for now)
d) you application will see all your windows disk drives as a part of unix filesystem hierarchy (c: and d: will be /cygdrive/c and /cygdrive/d) and you will have /bin /tmp /usr /etc avialable under / as well.
There's not up-to-date books about GNUstep or about programming Objective-C not using Mac OS. Thre is Stephen Kochan's book "Programming in Objective-C 2.0 (2nd Edition)" where he unfortunately ommits explaination of how to build even basic examples under Linux or Windows. I hope it is fixed in 3rd edition.
GNUstep has own themes so apps may be themed differently than GTK Linux applications in Linux or usual themed application in Windows.
This question already has answers here:
How can I develop for iPhone using a Windows development machine?
(42 answers)
Closed 5 years ago.
I am currently designing and planning an app that I intend to release for iPhone and iPad. I don't currently have a Mac, so I really have no way to actually publish the app, but I don't really want to buy a Mac either just for the development of the app.
Is there any way that I can write (and maybe even test) the app on Windows, then, once I have a finished product, buy a Mac or borrow a friends Mac to publish it.
I know that there is no way to publish to the Apple App Store without a Mac, but I was wondering if there is a way that I could develop and test the app (in Objective-C) on Windows.
I was wondering if there is a way that I could develop and test the app (in Objective-C) on Windows.
No, there is not. XCode is required for iOS development, and it is only available on Mac OS.
You could get a second, cheap hard drive, and install OS X on the hard drive to make your computer into a Hackintosh. You'd need a copy of OS X, and a willingness to break the TOS for the operating system.
This is actually a very frequently asked question, and I'm afraid the answer is no, you cannot do iOS development on Windows.
Back in the iPhone OS 2.0 days there was a cross-compiling framework that did accomplish this but it's abandoned and doesn't work for years now and AFAIK nobody bothered to make it work again (it's a lot of work and requires intimate knowledge about cross-compiling and hunts a constantly moving target).
The usual recommendation is to buy a used Mac Mini since they're cheaply available on sites like eBay.
duskwuff is right to a point... XCode itself is not actually requred in fact there is IDEA's AppCode IDE. Unfortunately, that only runs on OS X. The best thing you can do (other than get a cheap Mac) is install GCC on windows or a Linux VM compile from the command line, as GCC can compile Objective-C. However, that still is not a good solution since you won't have Access to Cocoa Touch and all those calls will error out as undefined or undeclared....
No, you can't. If your going to buy a Mac to publish in the future, why not just buy it now?
You can use OS X in a virtual machine on your windows system. I have read few articles on the internet how to do it using VirtualBox for that (google for it). Even if it's not officially supported by VirtualBox, it's possible. This breaks the TOC for OS X, and you need to buy a copy as well, but VirtualBox is free.
Yes you can!!!
Use virtual box.
Search some guides on "lifehacker.com" about getting mac on virtual box.
It's what I always used before getting a mac.