From https://casablanca.codeplex.com/discussions/548817#post1256770 by Les1966
> in the directions to build casablanca for iOS, it says to use the build.sh from https://git.gitorious.org/boostoniphone/galbraithjosephs-boostoniphone.git. I have found that this will not build the version for x86_64 architecture, The script at https://gist.github.com/JLamkin/6c7b966e5b05a54f47f4 seems to correct that from what I have seen.
Comments: The best short-term workaround is to add ```-arch x86_64``` to line 140 of boost.sh: ``` : $XCODE_ROOT/Toolchains/XcodeDefault.xctoolchain/usr/bin/$COMPILER -arch i386 -fvisibility-inlines-hidden $EXTRA_CPPFLAGS ``` becomes ``` : $XCODE_ROOT/Toolchains/XcodeDefault.xctoolchain/usr/bin/$COMPILER -arch i386 -arch x86_64 -fvisibility-inlines-hidden $EXTRA_CPPFLAGS ```
> in the directions to build casablanca for iOS, it says to use the build.sh from https://git.gitorious.org/boostoniphone/galbraithjosephs-boostoniphone.git. I have found that this will not build the version for x86_64 architecture, The script at https://gist.github.com/JLamkin/6c7b966e5b05a54f47f4 seems to correct that from what I have seen.
Comments: The best short-term workaround is to add ```-arch x86_64``` to line 140 of boost.sh: ``` : $XCODE_ROOT/Toolchains/XcodeDefault.xctoolchain/usr/bin/$COMPILER -arch i386 -fvisibility-inlines-hidden $EXTRA_CPPFLAGS ``` becomes ``` : $XCODE_ROOT/Toolchains/XcodeDefault.xctoolchain/usr/bin/$COMPILER -arch i386 -arch x86_64 -fvisibility-inlines-hidden $EXTRA_CPPFLAGS ```