How to install ios 8 sdk on xcode 5? - ios8

I have OS X Mountain Lion (10.8.5) and Xcode 5.1 already installed on my mac and i can't upgrade my os for now. I need ios 8 sdk in order to publish my app in app store.
How can i install ios 8 sdk on xcode 5?
I have tried copying /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/8.0/ from another computer but it doesn't work - new sdk is not presented in Build Settings > Base SDK combo box.

Sadly that's not possible: the iOS 8 SDK is only available with Xcode 6, for which you need either Mavericks or Yosemite. Furthermore, since February 1st 2015 you can no longer submit apps to the App Store using Xcode 5: https://developer.apple.com/news/?id=10202014a
If you can't upgrade your current system at the moment, look into Parallels Desktop and install a virtual instance of your Mac from the recovery partition. You can then upgrade the VM and install Xcode 6 there, without having to upgrade your current system.
Alternatively, use ShirtPocket's SuperDuper to clone your current hard disk to an external one, then boot from the external drive and upgrade that to Yosemite and Xcode 6.

Related

I will like to know if there is a workaround to use flutter 3 with a lesser version of xcode on a mac running os catalina 10.15.7 & unable to upgrade

I use an old macbook pro 13 inch mid 2012 and the latest os i think we can upgrade it to is OS Catalina and the version is 10.15.7. It no longer receives new update from Apple. I am learning flutter and i had an earlier version of flutter installed and xcode 11.5 and everything was working just fine when i run flutter doctor but when i upgraded the flutter version to flutter 3, i get an error that flutter 3 requires Xcode 13 or higher. My mac cannot support Xcode 13 or higher. Is there any kind of workarund for this so i can use flutter 3 and if not can i just develop only for Android but i dont know if this options are possible.
I have tried to install other versions of Xcode maybe it will work but it didn't. I dont remember the former version of flutter i was using before i upgraded to flutter 3 so i can revert back to it and get everything working again without errors when i run flutter doctor. Even with that option, i will not be able to write code in flutter 3 and my apps will only target older devices. I could only find a fix of patching my mac to update it to mac os big sur but i can't risk putting my only computer through that gamble with 3rd party patch software. Is there any kind of workaround?

SDK Version Issue.This app was built with the iOS 14.5 SDK

ERROR ITMS-90725: "SDK Version Issue. This app was built with the iOS 14.5 SDK. All iOS apps submitted to the App Store must be built with the iOS 15 SDK or later, included in Xcode 13 or later.
My current version is macOs Big Sur version(11.4)
and my xcode version(12.5.1)
You need XCode 13 to use iOS 15 SDK. Simply update your XCode and MacOS (if necessary), then build the app again.
After updating XCode, your iOS SDK will be automatically updated.
Instruction for Older macOS:
Use this patch and upgrade your macOS https://github.com/Ben216k/Patched-Sur
After the upgrade, you can install XCode 13 on your older mac.
Here you can see all the supported mac lists: https://bensova.gitbook.io/big-sur/supported-macs
Below are steps I followed to solve the same issue in the same context:
Upgrade macOs Big Sur -> macOs Monterey v12.4
Update Xcode 12.x -> Xcode 13.x or later
Note: Upgrade could take some minutes. Hence, be patient

How do I download Xcode 9 on a mac running 10.11.6 (El Capitan)?

I am taking a course on programming with flutter, and it needs Xcode 9 or higher. My mac is currently running 10.11.6 and it can't update any more. I was wondering if there was any way to get Xcode 9 on my mac?
Xcode9 needs OS X 10.12.6 or higher.
The latest Xcode you can install on OS X 10.11.6 is Xcode8 (version 8.2.1).
Here you can check which minimal OS version is required by which version of Xcode:
https://en.wikipedia.org/wiki/Xcode#Version_comparison_table
Also for downloading any older version of Xcode you need a developer account (free account is enough) and you can download from here:
https://developer.apple.com/download/more/
Unfortunately I don't see older than Xcode9 there but I found Xcode 8.2.1 here
Xcode is only needed to run your Flutter apps on iOS devices and simulators. But to develop Flutter apps, you use another IDE your Mac can probably run: Android Studio, Visual Studio Code or Intellij IDEA.
You can still test your app using an Android emulator or device.
If you do need to upgrade, you can download a Sierra, High Sierra or Mojave patcher from dosdude1's website, and install a later version of macOS on your unsupported Mac (if your mac is in the list of supported devices, and I haven't tested it, so do it at your own risk).

how to fix old xcode installations on mac

I had xcode 3.2.something. and iwth ios sdks 3.0-3.1-....4.1 and 2 iphone simulator sdks.
Now i installed xcode 4.0 with ios sdk 4.3 something like that.
Now all my previous applications cannot be launched nor on device nor on simulator because there's not a single old sdk available.
so next i reinserted the original cds containing macosx and xcode and reinstalled the first xcode i used, but now there's not one ios sdk available at all.
i've been surfing the net for hours now, andi have a couple of questions:
1)have i had to uninstall the xcode 3.2.x before installing xcode 4?
2)how to uninstall applications on mac??? just to make sure that the answer i've found is the correct one.
3)how can erase the traces of all previous xcodes and their sdks in order to install the original one, now that i learned how to install different xcode versions side by side.
4) now what do you think i should to recover? do i have to back up everything and reinstall mac from the beginning?
thank you
So, your questions:
1. Have I got to uninstall XCode 3.2 before installing XCode 4? - No, you don't, but the XCode installer will overwrite your old copy by default. When installing the newer version of XCode and the iOS SDK you must specify a different install directory (eg, create a new folder in the root of your drive called 'Developer 4' for XCode 4.
2. How can I uninstall XCode? - Normally on a mac you would just drag your application to the trash, but it's a little more complicated with XCode. Refer to the instructions at this link: http://pushkararora.com/how-to/how-to-uninstall-xcode-completely/
3. How can I erase all traces of all previous XCodes? - see the answer above for question 2 :)
You can obtain old versions of the SDK from various unofficial online sources if you need to roll back to iOS 3 SDKs. However, it may not be all that much work to move your apps over to the 4.x SDKs.
ok it turned out that at the beginning i was using xcode 3.2.4 with ios sdk 4.1
The xcode that comes with mac osx only targets mac sdk. No iphone support
So i got xcode 3.2.4 setup from a backup (you can find it online) and installed and this should work
And now i have 3.2.5 using sdk 4.2 and targetting all till 3.0
and also xcode 4.0.2

Getting Xcode4 and using iPhone SDK 3.1.3 with it

I have currently installed version of xcode is 3 and iPhone SDK which I am using is 3.1.3. Now what I want is that I just want the Xcode 4 not iOS 4 sdk. That means I just want to upgrade my Xcode to Xcode 4. How to do that and I am offline. So how to upgrade if I do not have internet on my Mac.
If you use iOS 4 SDK you can still compile for 3.1.3 - set the "iOS Deployment Target" in the "Info" of the Targets and the project to 3.1.3.
If you want to upgrade to XCode 4, you have to be a registered developer (it's still in beta, so it's not available to anyone else until final release) and transfer it via a USB stick, CD etc. It's not available through the usual Mac Software Update.

Resources