Fixed the same issue by going to Build Settings in Xcode and removing arm64 and i386 from Excluded Architectures.
arm64
i386