Build Sequel Pro from source in XCode 10


30 Sep 2018 / by KhanhIceTea

Sequel Pro is a great GUI MySQL tool in macOS (it's open source and of course totally FREE) !

But from last year, their automated build system has been broken, so their built versions are outdated :

  • Stable version 1.1.2 (Apr 3, 2016)
  • Nightly version 3477d22387 (Sep 6, 2017)

UPDATED : Nightly versions have been released from Oct 29, check it at Test Builds

Even their codebase bas been updated every week but we can't use the latest build within a lot of bugfixes. So here is the guide to build SequelPro from source using XCode 10

Step 1 : Clone source code

$ git clone https://github.com/sequelpro/sequelpro.git --depth=1
$ cd sequelpro

Step 2 : Change build config to Release

$ sed -i '' -e 's/Debug/Release/g' Makefile

Step 3 : Remove i386 (32 bits) from ARCHS environment variable

$ find . -type f -name "*.pbxproj" -exec sed -i '' -e 's/ARCHS_STANDARD_32_64_BIT/ARCHS_STANDARD_64_BIT/g' {} +

Step 4 : Build

$ make

Step 5 : Copy to Application folder

$ cp -R build/Release/Sequel\ Pro.app /Applications/Sequel\ Pro.app

ENJOY !!! 😎


Sound good ?