iOS compilation

Following the instructions of README.ios.md the following error is thorwn:

Code:
checking whether g++ accepts -g... yes
checking whether g++ supports C++11 features by default... no
checking whether g++ supports C++11 features with -std=gnu++11... yes
checking for unzip... yes
checking for zip... yes
checking for curl... /usr/bin/curl
checking for tar... /usr/bin/tar
found xcodebuild at /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild
checking for "*86"... arm64 is not "*86"
configure: error: error in configure of --with-sdk=10.3

I have xcode 8.3.2 installed, is that the underlying cause for this? If so, is there a relatively easy way to make it work as is without downgrading?