file was built for archive which is not the architecture being linked (armv7s)

升级xcode4.5后,真机运行出现 file was built for archive which is not the architecture being linked (armv7s) 报错

解决方法:

找到项目的Build Settings- > Build Active Architecture Only,将其从NO 设为 YES

猜你喜欢

转载自hulefei29.iteye.com/blog/1684416