I have trouble building the project when a simulator is selected in xCode. Think you need to add another architecture to some of the conditional compiler flags. For example I think
(arch(arm) || arch(arm64)) && os(iOS)
should be:
(arch(arm) || arch(arm64) || arch(i386)) && os(iOS)