How to build native apps for iPhone using Windows? [duplicate] - iphone

This question already exists:
Closed 10 years ago.
Possible Duplicate:
iPhone development on Windows
I want to build apps for the iPhone but i can't find a right program.
I don't have a mac, so xcode isn't possible. I used MobiOne, but i had to pay, and i prefer a program that's completely free.
I want to ask if some of you know a program to build native iPhone apps thats compatible with windows and is completely free.
Yours,
Gromdroid

You need a Mac computer with an Intel CPU and MacOS X 10.6+, and a copy of the Xcode software (it's free) to build apps for iPhone. That's the Apple policy. They just don't license the build toolchain to anyone. Even with third party iOS-compatible SDKs like Mono or PhoneGap you have to produce the final build on Xcode.
A Hackintosh or MacOS X under VMWare is probably your best bet, short of buying the cheapest Mac Mini you can find.
To upload your apps to the App Store or to live devices (as opposed to the emulator) you'll have to pay, too. $100/year for a basic account.
EDIT: IIRC, in the latest policy, you can run and debug on devices without a paid developer account. To upload to the App Store, an account is still required.

I don't know much about this, from my limited knowledge,you can Use phone gap for application development. It's free and you can develop applications for I-phone,android,windows mobile,black berry etc using this sdk.
Titanium sdk is another one.
But you need to create IPA on XCode for installing it on Apple devices (Iphone,Ipad etc).
It's better if you install Mac OS on your windows machine using Virtual box (Virtual box).
Please check the sdk links.
Phone gap
Titanium

if you're good in java/lwuit programming you can also check Codename One http://codenameone.com
you use their designer and framework, and you publish to iphone, android, j2me etc..
you'll still need development certificates.

Related

how to make your own iphone/ipod touch/blackberry application?

I am a c# . net developer using windows xp.
there is a requirement where I am asked to develop an iphone application.
Can anyone mention me the steps how to get started on this?
Is it anyway i can code my applicaton on c#.net and on windows xp?
Is it necessary to have a mac os to build your application?
What is the first step towards buliding the iphone application?
You will need Mac OS X, you could search for tutorials on how to install OS X on a virtual machine.
Once you have access to OS X, you will need to register as an iOS developer. Registering is free and you will have access to Xcode 3 + iOS SDK (includes iOS simulator). If you need your application on an iOS device (other than the iOS simulator), you will need to purchase the iOS developer program which costs $99. Xcode 4 has now been released, but this requires purchasing if you haven't brought a developer program for $4.99. Registering as a developer also gives you access to iOS, Mac and Safari Dev Center Resources, which you will find useful at some point. You can register here for free. I recommend trying out iOS development first before purchasing, as it's hard for some people to get the hang of.
After downloading and installing Xcode 3 + iOS SDK, you may be a little lost. Answering with a step by step tutorial for your fist iOS application is a little hard, so I will provide links to resources which are very useful. Here is a very good tutorial which will help you install Xcode and write you first application. It also teaches you about the programming language you'll be using, Objective-C. Objective-C is similar to C/C++.
You may find it easier watching a tutorial instead, therefore I recommend searching for videos.
Hope this helps!
Yes, you can code your app in C# using MonoTouch, but there is no way to bedug your code. The simulator will only run on OSX.
Yes, you will have to have an mac to build, test, debug and submit your app.
The first step is to buy a mac and learn Objective-c.
Firstly, iPhone, iPod Touch and iPad have iOS, and BlackBerry has Blackberry OS, so developing for both the platforms is completely different.
Developing for iOS.
For developing applications for iOS, the first thing you'll need is Mac, or any way to run Mac OS X (like having Hackintosh or OSx86, completely beyond the scope of my answer). Since development for iOS is done in a programming language called Objective C. And the IDE for the same is XCode, which (unfortunately) is only available Mac OS, XCode includes the emulator for the iDevices as well.
Developing for BlackBerry OS
And regarding Blackberry development, I don't have much idea about any particular language being used for the same. But you may follow this for a brief idea regarding developing apps for BlackBerry
Yes, despite the other answers at this page, it is possible to develop for Android, iOS and Blackberry Playbook at the same time - in Adobe Air (using Flex or Flash projects).
And no need to buy a Mac, it all works with Windows XP.
The 1st step would be to install Flash Builder Burrito and the other software listed at the Playbook page. That gives you Android + Playbook
The 2nd step would be to install the iOS packager. And I think a new version of it is coming soon - together with Flash Builder 4.5

Is it possible to build an iPad app on the iPad?

I would like to minimize the number of devices I would have to purchase to do iPad development so it would be nice if it did :)
I suspect the answer is no because I really doubt apple was kind enough to put an objective c compiler on the device. I guess an alternate question would be what is the cheapest apple platform I could use to build apps?
You are correct. Apple wants you to develop your apps on a Mac.
Here is a link to Apple's site describing what you need. A mac with xcode is a requirement.
No, there is neither a compiler nor and IDE available for the iPad. You need a Mac to do iOS development, but even a cheap used Mac Mini will do (and no, you cannot do iOS development on Windows, I'm afraid).
First to answer your "subject question": As far as I know, NO you cannot install Xcode development kit on an iPad and thereby producing new iPad software... Apple also would like you to buy a real Apple computer if you want to do real business with the platform.
BUT
With some effort and research, you can just buy an orignal Mac OSX 10.6 or newer. Then with some tweaking and fixes, you install this on ordinary PC hardware. This is because the Apple computers today also are running on Intel CPU's and PC motherboards.
Its not officially supported nor "okay" from Apple's licensing point of view, but once you get it running the computer / OS thinks its a real Mac and then you can run and compile Mac software as its running 100% as a Mac.
I've seen tests where the owner connected iPod and iPhones to iTunes and AppStore which didnt see anything unusual, so the owner was able to buy movies and music and applications as normally.
Same goes for installing pure Apple software such as Xcode and other Mac-Only software.
You can even install some boot-manager and be able to run Windows 7 and Mac OSX on a partioned harddrive I've been told.
The "thing" is called a Hackintosh. But I was warned that it is far from every piece of PC hardware that you can make run with Mac OSX, so a lot of studying is needed before succeeding I guess.
I am not sure if this app is compatible with ipad, but it can certainly MAKE your app. You still need the SDK to compile the code it generates, and you still need to purchase the dev program to release your app to the store.
Not to mention the functionality you can add is very limited, but it is the closest to developing on the device itself that you can get.
You could use the Notes app on an iPad, or a Javascript editing app, or a cloud hosted text editor from iPad Safari, to write HTML5/CSS/Javascript for a web app. Upload the resulting web app source text plus a manifest to some web server, go to it in Safari with your iPad, test it, and save it as a web clipping web app.
That's for a web app.
If you want to build native iOS/iPad apps you need an Intel Mac running OS X 10.6.x (but even a cheaper old used Mini or iMac will do, as long as it can run Snow Leopard 10.6).
Or at least fast network access to a Mac. You could remote access a Mac using one of the many VNC or other remote viewing apps for the iPad, and develop native iPad apps from an iPad that way, but it would still involve a Mac.

Is there a way to develop an iPhone game on a PC? [duplicate]

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
How can I develop for iPhone using a Windows development machine?
Basically, that's my doubt.
I want to develop an iPhone game on my free time, but I dont want to buy a Mac, so, is there a way to use my pc to develop the game?.
Thx in advance.
No.
Apple does not allow development on PCs.
You might be able to develop a game using your PC using something like Unity but you will require a Mac to be able to deploy your application to an iPhone.
http://maniacdev.com/2010/01/iphone-development-windows-options-available
Yes, you can use a PC to develop iPhone applications.
If you want to develop applications on Windows, you can setup the toolchain and use it. However, you will not be able to submit your applications to the App Store.
http://code.google.com/p/winchain/
You can also install OS X onto your PC, and run XCode/iOS SDK in that way. Since you have what is effectively a Mac, you can buy a iPhone Developer Program membership and submit official applications to Apple's App Store.
Your you can install Mac OS X in your PC, only for development, though I don't advise it you. Then, you can install xcode and create an account in iPhone Developer Center and to begin your bad experience with this.
But you'll have big problems of stability with Mac Os X in you pc.
The way more logic, buy an Apple, I recommend it to you.
Apparently there is an SDK for Windows that allows you to code in C/C++ and turn it into an iphone game, but you are limited to 2D games and you have to use their API. Here's the link.
http://www.dragonfiresdk.com/index.htm
Rent a Mac remotely from macincloud.com. You can use your Windows remote access program to log on to their Mac server and you can start developing app on an actual Mac.

Development of iPhone application in linux [duplicate]

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
Starting iPhone app development in Linux?
I have to develop an iPhone application that is able to transfer real time data from a server to an iPhone.
Some real time data examples are:
cricket scores,
stocks,
etc.
We have been told to develop our project in Linux using Objective C. As I'm completely new to this field, could anyone give me any ideas about how to start the project?
Is it recommended to use Linux?
You'll have to use Mac OSX if you want a sane pipeline. You're also going to need to pick up a book on iPhone development. You can run OSX in VMWare if you want by following the tutorial here.
Start by going back to the project manager and tell them that you need a proper Mac to develop for iPhone.
Any hacks you apply to make this work under Linux will just cost you more money than a Mac mini costs now. Unless you are a slave and work for free?
Also using Linux hacks for commercial iPhone development is a violation of the iPhone Developer Program contract you signed to publish applications on App Store. So your legal department should be signaling the red flag if project manager suggests Linux for iPhone development.
Don't even think of using Linux. You'll waste so much time hacking together a development environment and you still won't be able to get some of the required XCode tools such as code signing. It'll be easier & cheaper to just get even a Mac mini.
No, don't use Linux to develop iPhone apps. While there are Objective-C compilers available, you won't have access to all the Cocoa libraries, which are the bread and butter of iPhone development. You'll need a Mac.
Adding to the other comments here discouraging the use of Linux for developing iPhone applications, unless you are targeting jail-broken iPhones, you must have Xcode for signing and provisioning iPhone applications. Also, you'll have no method for running your code inside of a simulator. The easiest/cheapest solution is to buy a cheap Mac (a Mac Mini can be had for under $600 using your current peripherals).

Development platform for iPhone application

I am new in iPhone application development and currently working on .net (C#).
Please suggest the development platform to create iPhone application so I can adopt very soon.
Which is best among these:
Xcode
Unity using script language c#
tersus
Or any other tool that is not on the list.
Is it possible to develop iPhone application using .NET framework? I'm not sure; I think not.
It's not possible develop application for iPhone on Windows platform. You need official SDK and it's only for Mac OS X.
Look to http://developer.apple.com/iphone/
XCode is the only development environment for iPhone and Objective C is the language it uses for this. You cannot use the .NET framework to build an iPhone app.
The SDK is free to download but you will need register (for free) with apple to get the SDK and all it initially lets you do is build and run apps in a software simulator environment; to put apps on a physical phone you need to buy a license (for $99) and go through a rather convoluted process to set up signing certificates.
The SDK and a variety of sample code and tutorials are all at the Apple iPhone developer site http://developer.apple.com/iphone/.
The official SDK is free but not open-source. All the tools necessary to build iPhone apps are free. HOWEVER you cannot put your apps on an iPhone or iPod Touch device without paying the $99 for the developer license. You can run the apps you build on the iPhone Simulator, which is an application that runs on your Mac. It looks and behaves pretty much like a real iPhone, minus a few obvious things (no GPS, no camera).
Go to http://developer.apple.com/iphone/ to get started.
Learn Obj-C . If you don't have mac then buy one.
Unity looks very promising, but it's cost prohibitive for an indy programmer. I looked at this last week and for me to get the package I needed I'd have to drop down almost $3,000. You'd still have to use XCode to compile your app though.