iPhone dev on Linux - iphone

Actually I have read about that I can write Objective-C app on Linux (using GNUStep).
But my question is, Am I will be able to develop completely iPhone app on Linux machine?
Or I'll need eventually need to use Mac machine?
Especially when I read that there are some some syntax diffs between NeXT/Apple and GCC (according to http://en.wikipedia.org/wiki/Objective-C)

Short answer - yes it can be done but is not as easy as the Mac way.
Duplicate of how-much-of-an-iphone-app-can-be-developed-and-tested-on-linux, which will lead you to still more links, and 75-100 others.

I'd try giving VirtualBox and a Mac OS X guest a shot. Some people say they've been able to run it.
http://forums.virtualbox.org/viewtopic.php?t=2076
If you manage to run it, then you could install X-Code and things should be a lot easier.

Related

Is it possible to code Swift on windows using JetBrains AppCode?

Is it possible to write proper Swift-code using the AppCode IDE from JetBrains? I'm looking for an option to build a native iOS-app without buying a macbook or iMac. I've been looking and searching for a while now and coudn't find any solution without buying the additional hardware. With the AppCode IDE it seems like I don't have to.
If you have any ideas or experience let me know?
Basically no you can't.
if you are planning to develop ios app you have to buy macbook or install hackintosh or rent a mac on the cloud or virtualise || virtualbox

Can i run objective c application on windows?

I would like to learn something about i phone development. So, first i want to know that, Can i run basic application on windows?
Is there any apps or tool available for the same. I knew, We can run this on Mac/Ubuntu. But, I have installed windows 7 in my laptop.
would be grateful for help.
For learning purpose you can install a virtual machine install OSX and try some of the examples (which i'm guessing is not legal). But if you want to create an app to upload it to the store you will need a mac machine.

How to run legacy Mac code on a faster, remote machine?

We've inherited some legacy software that we need to run quite urgently. It was written in Lisp and we don't have the source code (developer is dead), only runs on Mac OS 9 (some bug seems to prevent it running on anything newer) and requires a license dongle to run.
We have an old machine that will run the software, but it is a dinosaur. Ideally, the solution would also provide for remote access as well.
My first thought was to use some kind of emulator on a newer machine, or even a VPS. But I have concerns about how these will work with the USB dongle. Can anyone suggest a solution better than accepting that working with old code sucks and getting on with it?
The most recent hardware I can think is a PowerPC Macintosh, with Mac OS X 10.4 (Tiger). It is the last version of Mac OS X to have the Classic Environment, that will let you run this legacy software.
Alternatively, if you don't have a PowerPC Mac in house, you can look into SheepShaver, a PowerPC emulator, however you'll need a Mac OS install CD.

What is fake-libgcc? Is fake-libgcc required in order to compile on iPhone?

I started out developing on C. I know what gcc is, libgcc, and so on . I've done Windows/.NET development for years, and now I am playing with an iphone.
I understand that it's possible to compile apps on the iphone itself.
Wanted to start with a hello,world. I have openssh on the phone, and am connected from the Windows machine via putty.exe.
using Cydia to install GCC, it tells me "Cannot Comply".
The post I cited above says I may need fake-libgcc. Why? What's fake about it, and why do I need it? If this is a pre-req for gcc, why doesn't the GCC package in Cydia install it automatically?
I just barely got this figured out myself, and since Google doesn't seem to have any recent and sufficient information, I'll go ahead and explain what I've found out even though this question is rather old.
The quick of it is this, gcc needs to see libgcc installed. I installed fake-gcc from here and it let me install gcc, and it appears to be running just fine, however, it still needs the headers. Here is a walkthrough that should help get the appropriate header files so you can get it to work.
As for why this all is, this is what I've been able to gather from searching through Google for a little while. Let me just start by saying, this is pretty much pure speculation, and if someone points me to a more correct reference, I'll gladly update this.
It appears that up through version 2.0 of the toolchain, libgcc was installable through Cydia to provide the basic libraries for gcc. However, since version 3.0, these libraries are (maybe?) now built in by default, so installing libgcc again through Cydia broke things. But as gcc has it as a dependency, it can't be installed until it sees libgcc somewhere.
That's where fake-libgcc comes in. It registers itself as that package, but doesn't really do anything besides that.

How to create a MobileSubstrate Plugin for iPhone?

i have googled alot on how to create a mobilesubstrate plugin for iPhone but couldnt get any basic tutorial for that. Anybody having any knowledge of how to do this? I am looking for a basic understanding of it.
Thanks :)
This script automatically setup iphone toolchain for you, runs on Mac OS X, thanks to #rpetrich. http://gist.github.com/403608
First, remember to
apt-get remove iphone-gcc on the iphone
before running this script on your mac, if you don't want to collect headers files from iphone sdk, follow the Darwin arm part of the script and I think you should be good.