old mac - does it support swift in xcode 3.2.6 - ios

I have developped my app on android but would like to do the dev for iOS.
I have an old mac that supports only 10.6.8 and xcode 3.2.6.
I can get access from time to time on a mac with 10.10.
my understanding is that the way to go now is swift.
will my xcode 3.2.6 support swift so that I could developp on my old mac and test on the newest 10.10.
what do you recommend I do? buying a new mac? :)
Many thanks!

Swift is only supported on xCode 6 like you can read here. And only for iOS 7 and higher.
So even methods are available for iOS 2, as long as the devices don't have installed iOS 7 or higher the swift code can't be executed and you would need to use objective-c instead.

Related

How to create an Objective-C project in an old version

I have to create an application with a minimum version in iOS 6.0 and Objective-C.
How can I create a new project in that version?
I've tried creating a normal project and switching to iOS 6 later, but it gives me a lot of errors.
Can an application in iOS 6 be seen correctly on a terminal with notch?
It is not possible to create an application with a minimum version in iOS 6.0.
AppStore won't accept your application. Most of old frameworks are deprecated and no longer supported by new iOS versions.
Your best option is to get versions of MACOS and XCode that supported IOS6.0
That would be OS X Yosemite and XCode 6 or 7.
You can install the old MACOS on a virtual machine or better download a Virtual Machine of older MACOS.
Be aware: Old versions of MACOS,XCode may not be secure and you will have to download from websites other than apple.

iOS Dev on El Capitan Xcode 8.2

I'm just starting to learn iOS development. I have an old macbook pro that is running El Capitan (10.11.6). I was reading that the last version of Xcode that would be compatible is 8.2. If there is a later version that will work fine, let me know.
What are the drawbacks of developing in 8.2 as apposed to 9.2, the most recent version? am I going to face any major issues if I develop on 8.2?
Thanks in advance for the replies.
The biggest drawback is probably that you won't have access to the iOS 11 SDK which ships with Xcode 9. That means that you won't be able to use any functionality that is new to iOS 11 in your application. If you're using Swift, you also won't get the latest version.
You will face language issue because Xcode 8.2 support Swift 2.3 while Xcode 9.2 support latest swift 4.0
Xcode 9 includes SDKs for iOS 11.2, watchOS 4.2, macOS 10.13.2, and tvOS 11.2
Xcode 9.2 having iPhone x simulator (new device)
You face issues while migrating to latest one.
If your macbook spec is not fast enough latest xcode will make u suffer. also latest xcode requires MacOSX High Sierra too. However just for comparison, my Mac Mini 2012 runs "ok ish" on Mac High Sierra and XCode 9.2. So if your macbook spec is similar to mine then you ought to use latest one.

can I upgrade/make app for ios7 using xcode 4.2?

I have an existing app that need to be made compatible to ios7. I am new to ios app development. I have following things:
1. Macbook with MAC OS 10.6.8
2. X code - 4.2
is it possible to recompile the existing app using above to make it compatible for ios7?
(I know i need atleast MAC OS 10.8 for xcode5)
A little detailed explanation is highly appreciable as I am still figuring out how it works.
If not what all I would need to achieve same? If yes, how?
Its must to have xcode 5 or 5.1 to make app ios7 compatible.
Nope. iOS7 requires Xcode 5+ which requires mavericks. You can upgrade for free to mavericks and get Xcode.
Just open the App Store and upgrade to mavericks (5.3 GB) and then get Xcode 5.1
iOS7 developemnt only available with xcode5 and xcode5 is support minimum os version is MAC OS10.8 so first off all you have to upgrade os then xcode also then you can do your task.
From 1st Feb every app must be build in Xcode 5 and above as per apple declaration
I don't know about your existing app, but iOS 7 can run iOS 6 app, it shouldn't be an issue to just let your old app runs.
Of course, you will have to have xCode 5 in order to run and debug on iOS 7 device and simulator.

Can I write an iOS app with OSX 10.5?

I'm trying to write an app for my own use on my iPhone (iOS 6.0). Unfortunately I'm also traveling with my OSX 10.5 laptop with Xcode 3.1.4 loaded. Is there any way to run an app built with this xcode on my iPhone? I don't need any feature from a recent iOS and there are plenty of old apps that run just fine and were probably developed with old Xcode versions, but I always get an amber button indicating the iPhone iOS isn't supported when I hit build and run.
The oldest version of xcode that can develop for iOS 6 is xcode 4.5, and for running xcode 4.5 you need to have MAC OS 10.7.4 or later version
Sorry man, You can't.
You need Xcode4 and Lion for iOS6 development.
EDIT:
Now(2014 AD) Apple doesn't allow any app developed using below Xcode 5, so you need to have Xcode 5.
No. To develop for a modern iPhone, you need an Intel mac, and I doubt that a laptop with 10.5 is an Intel Mac (or that 10.5 even supports x86). Also, Xcode versions are correlated to API versions, if you haven't noticed, so even if possible, you'd probably only be able to use the 3.0 APIs, which are now not even usable because of the multitasking introduced in 4.0.
Short answer: No.

Are apps developed for iOS 4.3 compatible with 5.1?

Apparently the latest version of iOS is 5.1. I have been developing an iPad app for the past few months. So I have an iMac with Snow Leopard. Nowadays it seems that iOS 5.1 is the latest version for the iPad.
My question is if the app I have developed for iOS 4.3 is still compatible with iOS 5.1...?
I also realized I should update my iMac to OS Lion in order to be able to install XCode 4.3.2? This is the only version that supports iOS 5.1?
Thanks for your feedback!
Yes. All iOS versions are backwards-compatible.
Yes. You need the new xcode to use the iOS 5.1 SDK.

Resources