Developing for an ipod touch 4g - iphone

I am a software engineering student and i signed up for an embedded apple development class
I have Mac OS X Leopard 10.5.3 and i have an ipod touch 4g
I understand that the 4g runs ios sdk 4.1 and i am aware to use certain features i would need that sdk. In addition, i would need atleast Mac OS X Leopard 10.6.2 to use ios sdk 4.1
At this time i cannot upgrade the OS.
Can i still download an older IOS sdk, and develop for the ipod touch 4g?
what would be the latest sdk i could use? I just need something to get me through the class!
Thank you

You might be able to create an Ad Hoc distribution build using the old 3.1.3 SDK for Leopard, and then install the app on a 4th gen iPod Touch using the latest iTunes plus your Ad Hoc provision profile.

the latest sdk that runs with leopard would be 3.1.3. If you install that one (http://developer.apple.com/ios/download.action?path=/iphone/iphone_sdk_3.1.3__final/iphone_sdk_3.1.3_with_xcode_3.1.4__leopard__9m2809a.dmg) you probably run into problems when installing the app on the phone because the old organizer does not work with newer devices. Since the 4g ipod may not be downgraded either, you're only (free, besides upgrading to snow leopard) option would be to compile the app, then ask a friend with snow leopard to install it on your ipod. Maybe your university will offer some macs to use for that, since not everyone has a mac?

Related

Programming for iOS with older Xcode

I'm pretty new to coding for iOS and i have a question about setting up my development components.
I have MacBook Air with 10.5.8 Leopard on it. So we question is: will I have no problems writing apps having iPhone SDK 3.1.3 with XCode 3.1.4 for Leopard (10.5.7)? Will the created app work on all iphone versions? There is a possibility to upgrade to mountain lion and use newest xcode, but is it worth it ? Considering that I firstly have to upgrade to snow leopard and then to mountain lion.
Thank you for your answers in advance.
If you want to send them to the app Store, the apps have to be compiled with the latest iOS (right now iOS6), so you can't compile them with xcode 3.1.4.
You need lion to download xcode 4.5 that includes the iOS 6 sdk
It looks like the configuration of your MAC Machine is not compatible for latest Mountain Lion OS. Even if it supports Lion OS, that itself will be a great deal.
Anyways, Using leopard, you can develop applications only upto iOS ver 3.2. So you would not be able to submit your applications to App Store untill you compile it with latest SDK.
For this you need atleast Lion OS (Better if you upgrade your hardware compatible with Mountain Lion). So that you can install latest XCode (Currently Ver 4.5). It will allow you to develop fully featured iOS application with latest features as well as upload them to Apple App Store.
Hope it helps. Let me know if anything else required.

Provisioning iPhone on Snow Leopard, XCode 4 and iOS5.1

I'm new to the whole iOS development thing but I have completed my first app and now wish to deploy to my iPhone for final testing round.
However, I have a yellow dot next to my device and the message tells me that iOS 5.1 is not supported and that I need to get the latest SDK's.
I have done that but still the error persists insisting that the highest iOS i can test is 5.0.
I'm not going to go back to 5.0 on my iPhone as that would just be stupid.
I have the latest updates for Snow Leopard, latest updates for xCode 4.
Anyone know what I need to do for me to be able to use my iPhone?
Xcode 4 max supported iOS is 5.0, as your phone is iOS 5.1 it is not possible to install your app directly with Xcode. You have two solutions:
1/ Either you install Xcode 4.3.2 (iOS 5.1), but you need to install Mac OS X Lion (10.7)
2/ Or create an adhoc version of your app (it is explained on Apple web site), and use this software to install your app on your phone : http://support.apple.com/kb/DL1465?viewlocale=fr_FR&locale=fr_FR

Are Xcode 4 and iOS SDK 4.3 compatible with Snow Leopard?

Currently I am using Xcode 3 and iOS SDK 4.2 on Snow Leopard. I am planning to download and install Xcode 4 and iOS SDK 4.3.
I would like to know if Xcode 4 and iOS SDK 4.3 are compatible with Snow Leopard.
Yes..You will have separate .dmg available for download when you visit iOS developer center X-Code download link.
Please do note that the X-Code 4.2 will have iOS 5 simulator and library only. If you want lower version simulator and library with X-Code just goto X.Code->Prefrences-> Downloads Tab. In downloads tab you'll have two tabs:
1) Components - Here you will have option to download iOS 4.3 simulator(~600 Mb), iOS 4.0-4.1(~670 MB) Device debugging support, iOS 3.0-3.2.2(686.3 MB) Device debugging support.
2) Documentation- Yoy will have option to download iOS 5.0,XCode 4.2 Developer libaray,Mac OSX 10.7 Core Library.
Install the components which ever you need and there you go..
Hope that helps.
There's a specific version of Xcode 4.2 (and likely earlier versions) that can be used on Snow Leopard. That's the version I use on my iMac. Note that you can use 4.2 w/iOS5 SDK and still deploy on older devices (and even download the 4.3 simulator) in case you cannot find Xcode 4.
However you cannot use (download) the one from the AppStore which is Lion-specific. To find the Snow Leopard specific version log into Apple's developers portal and you'll see separate links for SL and Lion.
Yes, it's compatible. Download the XCode 4.2 .dmg from the iOS dev program portal, which includes the iOS 5.0 SDK.
http://developer.apple.com/devcenter/download.action?path=/Developer_Tools/xcode_4.2_with_ios_5_sdk/xcode_4.2_and_ios_5_sdk_for_snow_leopard.dmg
Yes, but only if you have the correct download from Apple.
There are currently 2 separate dmg downloads for the SDK and Xcode installer from the enrolled Developer web site, one for Lion and one for Snow Leopard. The download for Lion is only compatible with Lion. The download for Snow Leopard is only compatible with Snow Leopard. The installer from the App store might be for Lion only, so you may have to sign up for the developer program to get the other installer.
Apple usually removes (or hides) downloads for previous versions of the SDK, so if you didn't download the correct installer dmg (with the SDK for iOS 4.x) for the Mac OS of interest in time, you won't have a compatible installer.

how to download ipad sdk

I would like to download ipad sdk (i.e.iphone sdk 3.2),but i think it requires a mac osX Snow Leopard version 10.6.2 or later.But i have only Mac Osx Version 10.5.8 (build:9L31A).So,i made a software update but i couldnot find mac osx update in the software update list.I would like to know how to update my mac to 10.6.2 and install iphone sdk 3.2 for developing ipad Applications.
Thank You In Advance..
To move from 10.5.x to 10.6.x you have to buy Snow Leopard.
http://store.apple.com/us/product/MC223?mco=MTAyNTQ0NDI
You are right about having to upgrade to Snow. I'm now on Snow and I have iPad SDK installed (iPhone SDK 3.2 beta 3). Please note that you also need to be registered to the iPhone Developer Program to be able to download the 3.2 beta.
Amazon used to sell it for a lower price, 24 USD I think, but it's now also at 29 USD.

Build and test on 2.2.1 iPod Touch with Xcode 3.2.2?

I've just installed Xcode 3.2.2 with iPhone SDK 3.2 Beta 5 (Snow Leopard)
This version of Xcode didn't come with any iPhone SDKs older than 3.0. But I want to create an app that runs on all devices from iPhone OS 2.2.1 -> 3.1.3.
I managed to add older SDKs into Xcode by downloading iPhone 3.1.3 with Xcode 3.1.4 and installing each 2.x SDK from the 'Packages' folder in the .dmg. So now I can select 2.2.1 as 'iPhone OS Deployment Target' and the 'Base SDK' as 3.1.3, and the app will build (thus letting me use 3.1.3 APIs with conditional coding whilst still running on 2.2.1 devices).
But the problem is the app will not install and run on my 2.2.1 iPod Touch. Instead, Xcode tells me 'No provisioned iPhone OS device is connected'. If I bring up the Organizer, in the left column, the iPod Touch has an orange sphere next to it, instead of green, and clicking on this reveals:
'The version of iPhone OS on “iPod touch” is too old for use with this version of the iPhone SDK. Please restore the device to a version of the OS listed below'
I'm not sure how to get this version of the SDK to support 2.2.1.
(It needs to be this download of Xcode/iPhone SDK because I also want it to be a universal binary so it runs on the iPad with a minimum of fuss).
While under NDA, I can't be more explicit than to tell you to read this thread in the Apple Developer Forums, which includes an explanation of this problem.
As far as I know, Apple recently made the 3.x updates available free of charge. I don't think there are any users out there still on 2.x!