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