Xcode运行时出现 undefined symbol for architecture x86_64

在eclipse和vs没有这个问题

XCode模拟器是i386 你用真机试一试!