How do I get the iPhone SDK on Snow leopard? - xcode

I run MAC OSX 10.6.7 and have Xcode 3.2.6 and I do NOT have an ADC account.
My Xcode is missing Iphone SDK, from where and how can find/download it? and which SDK do you recommend, 3.0 ?

Get a developer account and download it from there. IIRC, the dev account is free and will get you an iOS SDK for the current shipping iOS version. To run something on a device requires a $99/year fee.
iOS 4.x is the current shipping version.

bbum is right that a developer account will allow you to download XCode for free. However, you need to select an old version of XCode as the current version is for more recent operating systems (Mountain Lion at the time of this answer).
After logging in to your free Apple developer account, go to this link (apple developer downloads) and search through old versions of XCode. The most recent that will work for Snow Leopard is XCode 3.2.6 with iOS SDK 4.3.
It's a very big file (over 4 GBytes!). Good luck.

Related

Updating xcode after upgrading MacOs operating system

I have just upgraded my MacOs operating system on one of my older machines from El Capitan to Big Sur. I subsequently tried to open xcode but I get the error:
In order to use “Xcode”, you need to update to the latest version. The version of Xcode installed on this Mac is not compatible with macOS Big Sur. You have “Xcode” 7.3.1. Download version 14.1 for free from the App Store.
When I go to the App Store, the only available xcode that I can see is 14.1 which is for Ventura and therefore not compatible with my current set up and so of no use. How to upgrade to say xcode 13, compatible with Big Sur? I hope it is possible without having to manually download xip file from developers section of apple.
The App Store will only let you download and install the latest version of Xcode.
You answered the question in the last sentence. Download Xcode from Apple's developer site. The site Xcode Releases has Apple's download links for every version of Xcode. Xcode 13.2.1 is the latest version that runs on macOS 11.

How install Xcode on a macOS 10.13 via workstation

At the moment, I would like to code something for ios just for fun and to learn new things. I have a VM Workstation 15 Pro, but I only have a macOS 10.13 system for use, so if I run it von my Workstation and try to install Xcode he won't let me, because then the only message I get is:
"can only be installed on 10.13.6 version"
How and where can I get this version (without the help of Apple ...) or is there a way to avoid all this?
Update the macOS version in your VM from 10.13 to 10.13.6. Open the Mac App Store in your 10.13 VM and check for updates. From there you should be able to update your VM to 10.13.6, allowing you to install Xcode.
Another alternative is to install an older version of Xcode from Apple's developer site.
In order to download older versions of XCode you have to have an apple account and then sign the developer TOS to access old versions of software in the downloads -> more section of the developer site at apple.com. You can determine which version of XCode will be compatible with your version of mac OS by referring to the column "min macOS to run" in the tables on the wikipedia page for XCode
If you want to download it without Apple you will probably have to find an alternate source to download XCode (which I'm guessing breaks their TOS)

where do I go to download Mac OSX 10.5 SDK

ALL,
Is there a link to download Mac OSX 10.5 SDK?
I have an original Snow Leopard disk with XCode 3.2.6. But when I checked it has 10.6 SDK not 10.5.
I need to link my program against 10.5 SDK.
Thank you.
After registering with Apple as a developer, click on iOS as seen below. From there, click on "Download". Scroll through the versions until you find the one you would like, then click "Download" on the one you want!
As shown on How to add base SDK for 10.5 in xCode 4, you have to open up the installer, extract your package, and then run the installer. Once the package is installed, it should be compatible with later versions of xcode.
This site has multiple older Mac OS SDKs, including 10.5/Leopard (last accessed 2 Jan 2017):
Releases * phracker/MacOSX-SDKs (on Github)

Can I get the iOS 5 SDK on Xcode 3.2.6?

I can't upgrade to Xcode 4 because I am still running Snow Leopard and my computer doesn't have the hardware to support Lion. Is there anyway I can get the iOS 5 SDK still? I checked on Apple's site, but I only see iOS 4.2 for Xcode 3.2.6.
Yes, Xcode 4.2 with SDK 5 works fine on Snow Leopard. You can download it from the iOS Dev Center. You need to have a paid developer account to see these versions of Xcode. It's right below Xcode 4.2.1 for Lion (as of 2011-12-13):
Xcode 4.2 for Snow Leopard
If you don't join the iOS Developer Program, the link to download Xcode 4.2 for Snow Leopard will not be available, so NKijak is right. If you create a developer account but don't pay for the Dev Program you can only access the 3.2 version of Xcode in Snow Leopard. I've accessed the Downloads page with both types of account to test this, so either pay and join the Dev Program or get stuck with iOS 4 (or borrow an account just to download Xcode)

How do I get past the empty Xcode Organizer window in order to provision a development device?

I'm new to iOS development. I just installed Xcode 3.2.4 and the iOS 4.1 SDK on my Intel iMac running Snow Leopard. According to the docs, I first need to create a development profile by specifying a device (which in my case is an iPod touch 4G), but the Organizer window that I open up after starting Xcode comes up fully blank.
Screenshot 1: http://img15.imageshack.us/i/screenshot20110305at104.png/
In addition to that, when I click on "Create a new Xcode project for Mac OS X or iPhone OS" on the Xcode welcome screen, I do not have an option to start a new "Cocoa Touch" project.
Screenshot 2: http://img18.imageshack.us/i/screenshot20110305at110.png/
It sounds like you may not have the iOS SDK installed, or installed properly. Also, most developers will have upgraded to Xcode 3.2.5 a long time ago, so we won't be able to accurately compare what you're seeing to our own installations. Let me strongly suggest that you download the latest iOS SDK and install that. Once you get the current SDK installed, I think both issues that you're asking about will go away.

Resources