iOS项目显示i386链接器错误

今天我尝试在iOS项目中整合UrbanAirship。

得到了链接器错误说-logging没有findi386架构。

所以我从lib中删除了i386架构。

lipo -remove i386 libUAirship-1.4.0.a -output libUAirshipNew 

然后,我添加了这个后,我有很多链接器错误i386。

在这里输入图像说明

为什么还要检查i386? 我只在有效的架构中使用iOS。 在这里输入图像说明

我怎样才能完全消除依赖与i386?

更新1:对不起,我的困惑,我们需要i386在模拟器中运行。 我如何解决原来的问题 –

 Undefined symbols for architecture armv7: "_logging", referenced from 

libUAirship-1.4.0.a

更新2:最后我从https://support.urbanairship.com/customer/portal/questions/3170-push-api-libuairship-1-4-a-missing-required-architecture-i386

删除了这一行:

 extern BOOL logging; and this line around line 32: if (logging) { \ to: if (1) { \