Setting up iPhone sdk on Linux? - iphone

My iPod touch is jailbroken and I have looked for days to locate a comprehendable guide I am downloading the official sdk from apple as I type but I need to know how to set up the unofficial toolchain I have experience coding c/c++ and am learning objective c which is equally compared to c++ I just need some help setting the enviroment up I would be eternally grateful for any help. ;)

Try looking over saurik's guide.

Related

IDE other than XCode for IPhone development

I have been using XCode for IPhone development since start. Out of curiosity, are there other IDEs available for IPhone development. If so, in what way are they better than XCode (if they are). Kindly help me learning with that IDE if there is any.
Thanks
There are no realistic alternatives to XCode for development using Cocoa or Cocoa Touch; i.e. applications targeting Mac OS X or iOS.
You can try using tools provided by Adobe.
Check this Link http://www.adobe.com/devnet/logged_in/abansod_iphone.html
But as Williham said XCode is the best way there is.
My project manager used Mac's TextEdit to code a robust game, game framework and some libraries from scratch. The advantages of TextEdit: Load faster than xcode.
There is AppCode by Jetbrains. Still in development, though.
Not really for me - but if you're a user of their other IDEs, then you might find it more comfortable than Xcode.

What is Cocoa Studio

I heard about cocoa studio from a friend of mine so i was curious to find out its details.....According to him issues of memory handling are decreased by its use..Now first of all i don't know what is it. Is it a 3rd Party SDK of framework? I tried to google around for information but currently their site is under maintenance and i was not able to gather any substantial information from other resources.
So can anybody enlighten me about its details.Any links suggestions,information would be appreciated...
Thanks
Aditya
Cocoa Studio is not a tool, Its name of the training course by "The Pragmatic Studio",The course is aimed at developers planning on building GUI applications on the Mac or the iPhone.
For More Information, have a look at: -
cocoa_studio
The Pragmatic Studio
Probably you are talking about cocos2d. It is a graphics library for iPhone and some other platforms.
http://cocos2d.org/
http://www.cocos2d-iphone.org/

Do you need Xcode to program iPhone apps?

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.
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.
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.
Actually You can develop apps without a Mac. You can use a number of languages and tools that enable writing apps for iOS like:
- Python
- PhoneGap
- Appcelerator
- Mono
- Unity3D
- Unreal Engine
These all can export to iOS.
The only step that requires a Mac is publishing to the app store. But You can use any Mac for that, so You can publish from a friend's/neighbour's or actually anyone's Mac. That is the last step when You're sure everything is running perfectly. Perhaps Your application will earn You Your own Mac.
Also there are a number of publishing service providers in the internet (which don't cost nearly as much as a Mac). I don't remember any particular one at the moment, but I'm sure if You search You will find many. Good luck!
Unfortunately, although there are 'alternatives' (phonegap, mono touch, etc.) I believe you ultimately need Xcode and its tools to package/sign/publish your applications.
If you are really motivated though, you can look about ways of installing Mac OS X on a PC, though that is beyond the scope of this website.
In short, you need a mac. There a number of screwed up ways to do this without a mac, but for all intents and purposes you need a mac. A mac mini you can buy used for $300 on ebay will do the trick. You don't need a powerful machine.
Though Xcode itself is free it does require an Intel based Mac running Snow Leopard. You have 2 options:
Buy a refurbished Mac Pro or Mac mini from Apple website. They are not that expensive. You can use non-Apple peripherals with them to bring down the cost. And you will not be disappointed with quality.
Use Hackintosh to run the OS X on other Intel platform. Its hacky, difficult (carshes) and illegal.
Update:
For Objective C you can refer a pretty good documentation of Objective C language at iPhone developer portal. There are many other documents like memory management and human interface guidelines which should help you get started.
Once you have developed the familiarity with Objective C, you can then browse through various programming guides on iPhone development centre. If you want to follow a systematic approach, you may refer to "Beginning iPhone Development" book which I found pretty good.
Yes it's possible to develop applications for the mac/ipad/iphone without Xcode and without a mac/ipad/iphone.I own a imac,an ipad,and and a mac book pro.I tried to develop in xcode.
After some quick search on the internet I found this http://www.gnustep.org/. This is a framework you can use to develop in the objective C language,using GCC (the GNU compiler).There are other tools you can use,like GNU STEP Application project:this seems to be a sort of IDE (I didn't test it yet).
Yes and no. You can use alternative SDK's but they can be a pain to use and don't offer the publish/signing capabilities that Xcode does.

iPhone App Development on Ubuntu [duplicate]

This question already has answers here:
Closed 11 years ago.
Possible Duplicate:
Starting iPhone app development in Linux?
Is there a way to use Ubuntu Linux for developing iPhone applications destined to be listed on Apples app store ?
Many of the other solutions will work, but they all make use of the open-toolchain for the iPhone SDK. So, yes, you can write software for the iPhone on other platforms... BUT...
Since you specify that you want your app to end up on the App Store, then, no, there's not really any way to do this. There's certainly no time effective way to do this. Even if you only value your own time at $20/hr, it will be far more efficient to buy a used intel Mac, and download the free SDK.
Not officially, no. It's just Objective-C though and the compiler's open source - you could probably get the headers and compile it and somehow get the binary on the device. Another option is compiling on the device. All these options will require jailbreaking though.
A Mac Mini is just $599...
There are two things I think you could try to develop iPhone applications.
You can try the Aptana mobile wep app plugin for eclipse which is nice, although still in early stage. It comes with a emulator for running the applications so this could be helpful
You can try cocoa
(Extra) Here is a nice guide I found of guy who managed to get the iPhone SDK running in ubuntu, hope this help -_-. iPhone on Ubuntu
I found one interesting site which seems pretty detailed on how you could setup a ubuntu for iPhone development. But it's a little old from November 2008 for the SDK 2.0.
Ubuntu 8.10 for iPhone open toolchain SDK2.0
The instructions also include something about the Android SDK/Emulator which you can leave out.
With some tweaking and lots of sweat, it's probably possible to get gcc to compile your Obj-C source on Ubuntu to a binary form that will be compatible with an iPhone ARM processor. But that can't really be considered "iPhone Application development" because you won't have access to all the proprietary APIs of the iPhone (all the Cocoa stuff).
Another real problem is you need to sign your apps so that they can be made available to the app store. I know of no other tool than XCode to achieve that.
Also, you won't be able to test your code, as they is no open source iPhone simulator... maybe you might pull something off with qemu, but again, lots of effort ahead for a small result.
So you might as well buy a used mac or a Mac mini as it has been mentioned previously, you'll save yourself a lot of effort.
Probably not. While I can't log into the Apple Development site, according to this post you need an intel mac platform.
http://tinleyharrier.blogspot.com/2008/03/iphone-sdk-requirements.html
It can be done!!!!!!
There is someone who did it.
Enjoy :)
There are several way to do it, may decide to go the native way by downloading a VM application for linux and the install Mac OS in your VM and then download the Xcode application for mac But the true is i tried this path but it was really long so i decide to get sencha touch and phonegap for mobile phone,here the sencha-touch is a javascript framework that will help you in developing the interfaces and the phonegap is also javascript library which will help to access the feature of your Iphone or any oher mobile platform
I'm using sencha-touch and phonegap ,its really work for me
Perhaps the best way would be to implement your app as a web app. I think you can also make web apps that run direct on the phone, without internet access or a remote server.
Web app, sounds lame? But a lot can be done with DHTML / HTML5 / JavaScript. It's a rare app that requires more power and couldn't be done as a web app. And you get pretty good cross platform with Web / JavaScript - the browsers vary a bit but a good web dev can write one web app that works pretty much everywhere.
Of course if you're writing a high-performance 3D game, the browser might not deliver what you need! maybe in a few years... Apparently some Google hackers ported Quake 2 to HTML5 already!
http://web.appstorm.net/roundups/browsers/10-html5-games-paving-the-way/

iPhone app using .NET development environment?

How could I create iPhone applications using the .NET development environment?
The Mono team are working on 'static compilation' which allows mono apps to be run on a non-jailbroken iPhone. In short this works by running a cross-compiling JIT step as part of the build process to generate a native exe.
There was a demo of this at the PDC ... see Miguel de Icaza's blog.
The answer is MonoTouch From Novell - http://www.mono-project.com/MonoTouch. Beta version will be released on August 2009 and commercial released will be on September 2009.
If you just want to leverage some knowledge of c#, you can use Unity. Games developed with Unity (http://unity3d.com) use Mono with an AOT (ahead-of-time compiler) to compile mono bytecodes to ARM. (The apps created by Unity have a shell that is, in fact, a fairly conventional cocoa touch app created in Objective-C++ and XCode.) It's not a dot net app, but you can use your existing knowledge of c#.
You don't. You need Xcode on Mac OS X to write iPhone applications.
Update: 9-20-2009
This was once true. See comments below for more info.
As far as I know, Apple does not support the Microsoft .Net development environment.
At most you could hope for is installing mono on a jailbroken iphone. Not that I condone this and you do so at your own risk.
IPhone applications are developed using Objective C or Ruby.
The only supported way to develop native iPhone applications is the iPhone SDK. It runs on Mac OS X only, and supports development using the Cocoa Touch frameworks and the Objective-C 2.0 language.
There are ways to get other languages to work, they will - however - almost certainly not be accepted to the AppStore and will break with future updates. Generally it is better to use a screw driver to screw something into a hole than to thwap it repeated with a hammer attached to a 250hp motor...
You can use Third party Tool called Component Studio - iPhone . More info please see this