No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=x86_64, V

遇见的错误:

第一次运行报的错误:error: No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=x86_64, VALID_ARCHS=i386)


No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=x86_64, V_第1张图片

然后我就去 targets ->build setting 下的 Build Active Architecture Only 设置 NO

No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=x86_64, V_第2张图片


改完后又报错:

No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=x86_64, V_第3张图片

/Users/lanouhn/Desktop/shiku_im_for_share_ok/shiku_im/Extensions/Reconnect/XMPPReconnect.m:60:34: Typedef redefinition with different types ('SCNetworkConnectionFlags' (aka 'unsigned int') vs 'enum SCNetworkReachabilityFlags')

然后就感觉 第一步不靠谱

所以又查找了一些资料http://my.oschina.net/kings0527/blog/509073

你可能感兴趣的:(No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=x86_64, V)