Any swift code editors supporting OS X 10.6.8 - macos

I wanted to get some code editors supporting Swift,
but as I tried to install AppCode or Xcode, I couldn't continue,
because my OS X version is 10.6.8 but these editors only support 10.9.4 or later.Any suggestions? Thank you.
Edit: (Do you know any editors supporting my version?)

Swift was introduced in Xcode version 6. Version 6 requires Mac OS 10.9.4 like you said. You aren't going to find anything for a version of Mac OS that old.
I think there are web-based services that allow you to access newer Macs. That may be your only hope.

You can now install VirtualBox on your Mac and install Linux in VirtualBox. This allows you to run Swift on older versions of Mac OS X or even on Windows besides Linux. You can find binaries for Ubuntu here.

Related

How to install Xcode 4 on Mac OS X Mavericks

I can't install Xcode 4. I have some files that I need to open in Xcode 4. However, when I try to install it, it says "Xcode Install Assistant cannot be installed on this disk. The version of OS X is too new." How can I make it think I'm on Lion or Mountain Lion?
Here is a picture:
Download it in the App Store - it's the newest version and looks like the disc you have doesn't support Mavericks.
I feel tired of these preposterous answers. I think that if you want to stick to an older version of something, you should be able to. Also, I don't think software like XCode 4 are that old anyway.
But, to the point: I think XCode 4.6.3 is compatible with Mavericks. I am not sure about previous 4.6.X, but I think none of them work.
Any versions prior would require a previous operating system. I think you could try using pacifist to install the version you want, but I haven't found any guides.
If your problem is with project compatibility, in XCode 5 there is an option to save the project in a way it is compatible with XCode 4.6, and I suppose 4.6 offers a similar option to save in a version prior. Of course, you may need to adapt the code of the projects accordingly. Usually I try to stick with the Snow-Leopard-compatible code, because it compiles fine in all XCode 4.X and 5.X versions.
You can download any of these from the developer website.
I would try partitioning the disk and installing an older Mac OS X. I work with Snow Leopard and Mavericks in the same Mac. I usually do interface tasks in SL and the rest on Mavericks. The other advantage is that I have both XCode 4.2 and 3.2.6 in the same machine, so I can manage some backwards compatibility. =D

Installing XCode 5 on OS X 10.7?

The New Features in XCode 5 Section says that
Xcode 5 requires a Mac running OS X v10.8.
Also the Compatibility Sections states that XCode 5 requires at least OS X 10.8.
Is there a way to install XCode 5 on a Macbook Pro (Core 2 Duo) running OS X 10.7?
No you cannot, least version for installing XCode 5 is 10.8.4
That does not give you ability to compile or simulate iOS7. Sometimes people are able to get the required libraries or installer to run on the older versions of MacOS... if anyone has any luck please share :)
use older versions of Xcode. :) Like 4.6 for example.

Can github boxen run in mac os 10.7 (Lion)

I am trying github.com's boxen tool in my mac os (10.7.5). However, every time I try to run the project template: https://github.com/boxen/our-boxen, it complains this:
--> You must be running OS X 10.8 (Mountain Lion).
Does that mean boxen tool can only run in Mountain Lion ?
The fact that it's throwing an explicit error means somebody took the time to put it in place for anyone running it on OS's older than Mountain Lion.
There's very likely to be some symbols / API's in the source that are 10.8 only. If you can find those API's and modify those methods to work on older OS's, then you'll have a 10.7 compatible version of Boxen and feel free to contribute your changes back to the community. Be a part of the magic of open source software!

lazarus on mac os x 10.4

I tried to install lazarus on a mac os x 10.4 macbook but it did not work, can any one give me a hint on how to do it.
Thanks
I used the latest 3 packages from sourceforge:
fpcsrc-2.2.4-intel-macosx.dmg
fpc-2.2.4.intel-macosx.dmg
lazarus-0.9.28.2-i386-macosx.dmg
When I click the lazarus icon nothing happens
I tried on OSX 10.6 the release 0.9.28.2 and everything works fine.
Try http://lazarus.firmos.at/index.php?topic=7126.0

Is there a way to get/use the OS X 10.3 Cocoa SDK on a 10.6 machine?

Before you ask, yes, I have a very good reason for wanting something to run on 10.3. It's a very small in-house project that must run on a very important person's machine, which cannot be upgraded for a very good reason. =)
The 10.6 DVD doesn't seem to offer an option to install the 10.3 SDK, only 10.4+. I also can't seem to find it on Apples website.
I found this tip about how to install it on 10.5, via the Xcode optional installs, but that doesn't seem to be the case for 10.6?
http://www.cocoabuilder.com/archive/cocoa/201508-10-3-9-sdk-with-xcode-2-5-on-leopard.html
Is it incompatible, or just not offered because it's so old? Must I use an earlier version of Xcode? Can I just try to install it via a <10.6 DVD?
You don't need the Mac OS X 10.3 SDK to build for Mac OS X 10.3. Just install the optional Mac OS X 10.4 (Universal) SDK, then:
Set your Base SDK to the Mac OS X 10.4 (Universal) SDK
Set your Compiler Version to GCC 4.0
Set your Mac OS X Deployment Target to Mac OS X 10.3 for the PowerPC architecture (using build setting conditions)
Carefully avoid any API that isn't on Mac OS X 10.3
This should be sufficient for building a Mac OS X application that will run on Mac OS X 10.3.9, even on Snow Leopard.
The 10.3.9 version number is important; if you're using any C++ in this application, Mac OS X 10.3.9 is the first version (and the only version of 10.3) that includes the Standard C++ Library in shared library form, which is required for using GCC 4.0 or later. Otherwise you'd have to use GCC 3.3, which is neither included nor supported with Xcode 3.2 on Snow Leopard.
On the other hand, C and Objective-C code may even run on earlier releases of Mac OS X 10.3. I can't think of a reason it wouldn't, but I haven't tried it myself. Even people sticking with a 6-year-old version of Mac OS X will use the most recent version of it, right?
If the 10.3 system is running 10.3.9, you may be able to use the optional 10.4u SDK for your build on 10.6 by setting the deployment target to 10.3 and sticking to gcc-4.0, rather than gcc-4.2, the 10.6 default. The python.org installers for OS X are intended to be built that way, that is, one executable that works on 10.3.9 through 10.6 (although, at the moment, there are still a few problems with building all variants on 10.6 so 10.5 is still used). Also the python builds are primarily using Carbon frameworks rather than Cocoa and they do not use Xcode to manage the building of the product. If you can't get Xcode to do it directly, you might be able to build from the command line.
export MACOSX_DEPLOYMENT_TARGET=10.3
/usr/bin/gcc-4.0 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc ...
It may be that the 10.3 SDK isn’t supported on 10.6 because 10.6 is intel-only. Also, 10.3 doesn’t support intel. Remember that 10.4 was the first OS to support intel, which is why that’d be the earliest OS supported on 10.6. However, I could be wrong.

Resources