Xcode 4 installation: - ios

I just got a Mac OS X 10.7 and was all set to install Xcode 4 and the iOS SDK onto it, but as it turns out, it will not let me do this because the installer reads this:
iPhone SDK requires MAC OS X 10.6.6 (To install iOS SDK you must quit the installer and upgrade).
What does the SDK mean I should upgrade, my Mac pro is a higher level, it's a 10.7 !!! Do they mean I should downgrade ??? (pun intended!)
Anybody with similar problems and have a way around this?
:(
Parijat Kalia!

Lion requires XCode 4.1 at minimum.

Related

Develop app for iOS 3.1.3 on Mac OS X 10.11?

I have a Mac with OS X 10.11 and Xcode 7.2. I also have an ancient iPod Touch first generation with iOS 3.1.3.
I'd like to create, upload and run an app of my own on this device, but Xcode does not let me ("Unsupported OS version").
I downloaded and tried older Xcode versions, but everything before version 6 refuses to start on OSX 10.11 and 6 has the same problem.
Is it at all possible to do this, and if so, how? If not, whats are the latest OSX/Xcode versions that work with 3.1.3?

how to migrate the source code(downgrade) of ios from mac 10.7 to mac 10.6.8

I am new to ios developement.
I have two mac books. one mac os is 10.6.8 with xcode version 4.2 and another mac os is 10.7 with xcode version 4.3.3.
The source code is in 10.7 mac version. it is running and working fine . I want to migrate the source code which is in 10.7 to 10.6 mac version.
I have copy the source code from working machine (i.e 10.7) and open that source code in xcode 4.3.3(i.e in mac osx 10.6.8)
Lots of errors are coming like sematic issues instace method not found return type defaults to id
for pseduo code, [self addApplicationObservers]; ..instance method -addApplicationObservers not found(return type defaulst to id)
Implementation is provided for addApplicationObservers. But declaration is missing in h or m file. But it works in mac osx 10.7 with xcode 4.3.3
If i provide the declarations for each one, its very tough job.Because i have so many classes.
What is the reason for those errors?
Is there any perquisites to downgrade the source code from mac osx 10.7 to 10.6.8 and please tell the required sdk's
Please provide me a solutions to run the code without errors
thank you
Chaitanya
If your program is building for iOS, the only things that matter are what compiler you're using and which iOS SDK you're using. It sounds as though your 10.6.8 machine has an older SDK installed in its version of iOS.
Can you verify that both machines have the same iOS SDKs installed?

Minimum MacOS Version Required to Compile iOS Apps

We wish to compile iOS (iPhone & iPad) apps and we want to know if you need to have a minimum version of MacOS to compile/create the apps? We currently have a Mac OS X 10.6.8, 1GB RAM, 32 Bit.
If we want to compile apps for iOS 7 do we need the latest (more recent than what we have) OS?
Edit: Does the fact our Mac machine is 32bit affect our ability to compile iOS apps (old apps and/or more recent apps - iOS 5 and up)?
If we want to compile apps for iOS 7 do we need the latest (more recent than what we have) OS?
Compiling apps against the iOS 7 SDK requires Xcode 5. Xcode 5 requires 10.8.4 or later. You have provided insufficient information about your Mac to determine if your Mac can run OS X 10.8. Try to install Mavericks here, or if that doesn't work see the Mountain Lion requirements and buy it here.
iOS7 SDK requires XCode 5 (min requirement 10.8.4)
OSX 10.6.8 will not run anything beyond XCode 4.2
OS X 10.6.8 (snow leopard) is TOO OLD to publish an iphone app.
You'll need a new mac with OS X 10.8 (mountain lion). If the hardware in your mac won't support an upgrade to more recent OS X versions, don't waste your time. Apple have not maintained backward compatibility: the minimum versions of Xcode or Application Launcher needed to meet the app store requirements won't run on 10.6.8.
Specifically:
- Beginning on February 1, 2015 new iOS apps submitted to the App Store must include 64-bit support and be built with the iOS 8 SDK
You can develop, test and simulate with your old mac, but ultimately to build and publish your app you'll need a newer Mac.
2022 update
Now they require SDK 15, included in XCode 13 or later (https://xcodereleases.com).
This release requires macOS Big Sur 11.3 which can officially work on macs from 2013 and later: https://support.apple.com/en-us/HT211238
In fact you can install it on an older mac with a patch, such as: https://github.com/dortania/Opencore-Legacy-Patcher

Can not test App on device with iOS 5.1.1?

I recently upgrade iPad to iOS 5.1.1. Organizer prompted "the Xcode can not find the software and image to the install this version."
"Could not support development."
The Xcode 4.2 supports up to SDK 5.0.
The Xcode 4.3.3 supports up to the SDK 5.1, but does not support SDK 5.1.1, Is that right?
So there is no way to test on 5.1.1 device, isn't it?
p.s.
I am working on Mac OS X 10.6.8 and Xcode 4.2. According to this method I has copied "5.1 (9B176)" to the corresponding folder.
For testing on iOS 5.1 you need Mac OS 10.7 Lion and Xcode 4.3. iOS 5.1 support is only available with Xcode 4.3 so you cannot test on a 5.1 device using earlier versions.
SugarMEmE, just a thought, since u need to copy it manually, u need standalone iOS5.1.1sdk. I checked Xcodes4.2.x up to Xcode4.5, they do not have iOS5.1.1, just 5.1 and then 6.0. No intermediates. So if somebody has a Lion w Xcode4.2 or higher, that can download those intermediates automatically, you technically just could copy it from there.
Hei, just did it. You need to find a file iPad1,1_5.1.1_9B206_restore.ipsw say here: http://mytopfiles.com/other/file/iPad1,1_5-1-1_9B206_Restore/589434.htm
It was on my other Mac (that has Lion and Xcode 4.3) in Library\iTunes\iPad Software Updates\
I just copied it on my Mac (Snow Leopard w Xcode4.2) in the same Library\iTunes\iPad Software Updates.
Image immediately showed up in Xcode Organizer Library Software Images.
And right away I was able to build on my iPad1 with iOS5.1.1
Logically, if you need it for iPad2 you would look for iPad2,1_5.1.1_9B206_restore.ipsw http://mytopfiles.com/other/file/iPad2,1_5-1-1_9B206_Restore/589852.htm etc, I guess.
Regards,
B
PS after all, u do not need to pay for upgrade to Lion yet.
You can generally link to the DeviceSupport folder for a similar OS version.
I just did this for 5.1.1 and it worked:
sudo ln -s 5.1 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/5.1.1

How to get Retina display iPad simulator in XCode 4.2, Mac OS 10.6.8 (Snow Loepard)

i'v been looking to kick start my app development for the new iPad(iPad-3). But i could not find a place where i can download/update my XCode inorder to get the retina display simulator. Apple released XCode 4.3.1 with iOS 5.1 SDK. But that requires Mac OS 10.7.3(Lion). Is it mandatory for me to upgrade myself to Lion in order to start developing apps for the retina display iPad or can i get the same in Snow Leopard???
I tried installing the same from Snow leopard and failed with error "Xcode can't be installed on Macintosh HD because Mac OS X version 10.7.3 or later is required."
So updated to Lion 10.7.3 and took Xcode 4.3.1 from Mac App Store which was released on 7th March 2012.
Yes, you have to upgrade to Lion.
I am having the same issue and found this link that could be interesting:
http://www.iphonedevsdk.com/forum/iphone-sdk-development/100229-snow-leopard-sdk-5-1-a.html
Not sure if you can submit your apps to the apple store when they are built this way.

Resources