I need some private frameworks for my app, so I am planning on jailbreaking my iPhone but, I wonder what are the steps for programming after the jailbreaking process.
Are they the same for jailbroken and normal iPhones?
I know that my app will be rejected by the app store, but that is not my goal now.
This is a research thing.
Thanks.
Once you have jailbroken your device, open the Cydia Installer and look on the start page. There will be many infos on how to create programs and on how to use the jailbreak-toolchain.
The programming steps are a bit different for jailbroken phones.
You can build using Xcode if you wish, but you don't need to. Infact you can build on your iphone itself. All you need is to remote login to your iphone and work from there directly!
If you want to go the "open" path of iphone development (ie: not SDK), then get yourself a copy of this book. However you can still use Xcode if you wish.
Yes, you can use XCode, here are some guidelines as to what you should do.
You can use private frameworks without jailbreaking. However I'd agree that it's much easier to find them in the first place. :)
Everything is the same for development -- using XCode will work just fine. It's a good place to get started.
The unofficial SDK would work as well but you'll have to go through a lot more hoops to get it set up so I wouldn't recommend it. Besides all the books and help really support the official development stack.
The main reason you're probably wanting to jailbreak is so that you can copy your test binary to your personal device for real world testing.
Related
I have a hybrid mobile application which I created using html5 and jQueryMobile. I need to make it as an ipad/iphone application. Please note I didn’t develop the application in mac or Xcode. So I need to know the steps I should follow to make it as an iphone/ipad application.
I am not supposed to distributing it in apple store. We are supposed to give the application to our clients only.
So here are my questions.
1) What are the steps I need to follow to get it as an ios application and give it to my clients? [Mine is a hybrid mobile app not native mobile app]
2) a) Is it necessary that I need a mac machine with Xcode? [Because hybrid mobile application doesn’t need that, but I am concerned while deploying/testing it in a device whether I need a mac machine]
b) Or ios developer program is enough for me? Because I thought I could get the .ipa file through phoneGap build without having a mac machine.
3) In order to give to the client, not distributing it in apple store, do I need iOS Developer Enterprise Program? [From the following link I feel so]
https://developer.apple.com/programs/which-program/
4) If at all I am distributing it in App Store, is there any criteria apple use to accept the application?
Please help me with proper answer. I can’t tell to my client any excuse later. So I would rather prefer answer from someone who has experience in this area.
Thanks.
1) If I were you, I would get XCode, start an iPhone/iPad app, and write some sort of wrapper with a UIWebView (if you are not willing to fully rewrite in Objective C, which may or may not have a cleaner result and may or may not be easier; it depends on what you are porting).
2) To do what I mentioned above, a Mac with XCode is necessary. However, there are third party programs that can compile iPhone apps, such as Unity, Flash, and PhoneGap. I have always worked with XCode so I cannot give you much advice on those.
3) Yes, you will need to pay for the developer program. You can write code and test with the iPhone Simulator that comes with XCode for free, but to put it on any device, you will need to pay.
4) The short version is that as long as it works, is appropriate, is legal, is useful, and is user friendly, then Apple will accept it. Usually they will only reject if it is a major problem. If you want to learn more, you can read the full version.
1) For distribution you will need an ipa for iphone and ipad built using Xcode or some other platform.
2)
a) You will require mac and Xcode for testing, debugging if not for building the ipa. If your app is using js having XCode and mac helps a lot.
b) Developer program is useful when you want to install and test your app on devices (installing the ipa that you have already created).
3)You will require iOS Developer Program. But its the client that would require the Enterprise programme to register its users devices in the program and distribute the app.
Only if its you who is distributing the app to specific users you will need the Enterprise program.
4) You will require to submit the app for approval to Apple, before making it available in app store. Following is the link for some help on it-
https://developer.apple.com/library/ios/documentation/IDEs/Conceptual/AppDistributionGuide/SubmittingYourApp/SubmittingYourApp.html
Hope this helps.
Can one make an Apple app with using Eclipse?
If not, how can I make an iOS app for the App-Store ?
You can certainly edit your source in eclipse.. I'm not sure whether there are any plugins for wrangling xcode projects, though. I imagine that'd be the big problem. Building an xcode project can easily be done from the command line, so you could run that from eclipse.
I'd say sign up for a free iOS developer account (developer.apple.com). you can develop for the iOS simulator without paying anything.. If you want to submit an app then you'll need to pay the $99 (and, of course, you'd want to be testing on actual devices beforehand!).
Xcode itself is a free download via the mac AppStore.
there are tons of good tutorials etc out there.. For a starter, I'd recommend http://www.raywenderlich.com/tutorials
If you don't have a mac, then, ahh, I have no idea :)
Im developing apps with a iPhone4 and my old 3G is my 2nd device for testing.
So, is it possible to jailbreak the Phone and run apps with xcode?
Does anyone have expirience with that, a jay or a ney ?
cheers endo.
Edit: According to the answers it is possible!
Yes, you can jailbrake an 3G and use it to test.
But if you already have a developer certificate you simply add the 3G to the list of development devices. For that no Jailbreak is needed.
Only benefit I see is to run code on the device without having Xcode attached and read in /var/syslog the output of NSLog statements.
But then MobileTerminal (from Cydia) is broken in iOS 4 and I haven't bothered with installing the latest Beta. I find in more comfortable to ssh across from a full sized computer and read /var/syslog or other files in that way. So again, I am not using much the features offered by jailbreaking.
Main benefit for using a 3G is to have a device on 3.1.3 and to test if the App performs well in terms of speed and backward compatibility.
Yes you can use it for development as Olaf said. I have been doing the same, no issues what so ever. Except that beware, you might have issues with Push Notifications.
Push notifications, especially productions certs, wont work with jail broken phones. I learnt that the hardway.
other than that, i did'nt find any issues.
Want to write a site for the iphone, but I don't have one and I don't know anyone who has one.
Is there a way to develop for it without having access to one, maybe apple has some sort of sim for this or something.
Anyone know of anything?
An iPhone simulator is included with the iPhone SDK, which can be downloaded for free from here:
http://developer.apple.com/iphone/program/start/register/
Or, if you have the Safari web browser, you can use this for a fairly accurate result:
http://www.testiphone.com/ or http://iphonetester.com/
There's a iPhone simulator for Aptana (should work on any system) and an emulator Apple provides (if you have a Mac). I've not tested the Aptana one. The Apple one is pretty good, but it runs most web stuff much faster than the actual device.
Try buying an iPod Touch. It has most of what you need to test your code to make sure it's iPhone ready.
The simulator is available for convenience but you won't be able to check proper HIG such as buttons or text being too small.
For a quick test, try regular Safari zoomed until the dimensions of viewport are similar to those of iPhone. Safari exists for Windows too :) Moreover, you can ask it to present itself as iPhone (in the Develop menu) and try a couple of sites.
For a serious development you definitely need iPod Touch. You'll need to have a familiarity with how interface, both native and mobile web, works. The SDK won't be able to give you that.
I wonder though what kind of application you are developing. I don't think web-based applications are that useful or bring revenue at this moment.
I'd suggest running VM ware booting up Mac OS...
You'll need an intel CPU though but still, worth it.
See here:
How to load Mac OS Lion in a VM
I know there is no official SDK for Windows, which is very annoying. Is there any way to develop applications on a Windows computer, other than somehow running a Mac OS in VMware? I know you can do it with Xcode, but that is also only for Mac OS X. Google searches have revealed absolutely nothing.
If I cannot use the SDK or Xcode, is there any way I can just check syntax or something and just make my code in Notepad and save it with the proper extension? I have no idea whether or not I would be able to do that, probably because I have never even tried the SDK and probably never will without buying a Mac.
I looked into this before buying a Mac Mini. The answer is, essentially, no. You pretty much have to buy a Leopard Mac to do iPhone SDK development for apps that run on non-jailbroken iPhones.
Not that it's 100% impossible, but it's 99.99% unreasonable. Like changing light bulbs with your feet.
Not only do you have to be in Xcode, but you have to get certificates into the Keychain manager to be able to have Xcode and the iPhone communicate. And you have to set all kinds of setting in Xcode just right.
You could easily build an app using PhoneGap or Appcelerators Titanium Mobile.
Both of these essentially act as a WebKit wrapper, so you can build your application with HTML/CSS/JavaScript. It's a pretty portable solution, too, but you are somewhat limited in what you can make - i.e, no intensive rendering or anything. It really all depends on what you're looking to do.
You could do what saurik of Cydia does, and write your code on a PC then build it on the iPhone itself (it is a Mac, technically!) after you jailbreak it. However, you don't get Interface Builder, so you're basically creating UIs in code by hand. It'd also be pretty tough to actually submit your app without a Mac.
No, you must have an Intel Mac of some sort. I went to Best Buy and got a 24" iMac with 4G RAM for $1499 using their 18 month no interest promotion. I pay a minimum payment of something like $16 a month. As long as I pay the entire thing off within 18 months - no interest. That was the only way I was getting into iPhone development.
There is another solution if you want to develop in C/C++. http://www.DragonFireSDK.com will allow you to build iPhone applications in Visual Studio on Windows. It's worth a look-see for sure.
Technically you can write code in a .NET language and use the Mono Framework (http://www.mono-project.com/) to run it on the iPhone. I haven't ever seen someone do this from scratch, but the folks that write the Unity Game Development platform (http://unity3d.com/) use it to make their games iPhone-compatible. The game itself is written in .NET, and then they provide an iPhone shell with the Mono frameworks that allows everything to run on the iPhone. I don't know whether they've contributed all of their modifications to Mono back to the open-source repository, but if you're serious about writing iPhone apps outside the Mac environment, it might be possible.
That said, I think you could dump weeks into getting that to work, and it might be best to invest in a Mac instead :-)
This really comes down to how much you value your time. As the other posters have mentioned, there are a couple of ways you can build iPhone apps without a Mac. However, you are jumping through serious hoops, and it'll be much more difficult and take longer than it would with the proper development chain.
You can buy a second-hand Mac Mini for a couple of hundred bucks on eBay. If you're serious about doing iPhone development you'll make this back in saved time very quickly.
No one has brought up the hackintosh. If you have supported hardware it might be the best option.
There are two ways:
If you are patient (requires Ubuntu corral pc and Android SDK and some heavy terminal work to get it all set up). See Using the 3.0 SDK without paying for the priviledge.
If you are immoral (requires Mac OS X Leopard and virtualization, both only obtainable through great expense or pirating) - remove space from the following link.
htt p://iphonewo rld. codinghut.com /2009/07/using-the-3-0-sdk-without-paying-for-the-priviledge/
I use the Ubuntu method myself.
http://maniacdev.com/2010/01/iphone-development-windows-options-available/
check this website they have shown many solutions .
Phonegap
Titanium etc.