Is there any way to upgrade a mid 2007 iMac to macOS Sierra? I recently got this used iMac, and was hoping I could use it for development work. I had an old Mac OS X Snow Leopard install disk, which I used to upgrade as far as OS X El Capitan, and wasn't able to get farther than that.

At the time I thought this was fine; after all El Capitan isn't that old, right?

But apparently I was wrong. I've been working with Xcode recently, and everything was going fine until I started trying to install and use CocoaPods.

Most of the pods nowadays have been updated to work with Xcode 9, and (only by a few little details), are not backwards-compatible with Xcode 8.2.1 (the farthest I've been able to get).

So, currently I see two ways to solve the problem (other than buying a new Mac, which I don't have money to do). 


I could find a way to install macOS Sierra (preferred).

I've looked into the MacOS Sierra patcher program, but this computer isn't supported.
I'm absolutely willing to try a hardware upgrade. What do you guys think about this post on iFixit? It uses the same EMC as my Mac.
I could find a way to upgrade to a newer version of Xcode (9 or later)

This solves the current problem, but not others that I've encountered as well.


Here is the EveryMac page for my Mac. Any help with either of these would be great.
OS X El Capitan 10.11.6 is the last supported release of macOS for your model of iMac. The latest release of Xcode that can be installed on your machine is Xcode 8.2.1 with macOS 10.12.2 SDK and iOS 10.2 SDK.

It is not officially possible to install macOS Sierra or use Xcode 9 (or later) on your iMac.