当前位置: 传客网 > iOS  (ONLY_ACTIVE_ARCH=YES, active arch=armv7s, VALID_ARCHS=armv7 

iOS  (ONLY_ACTIVE_ARCH=YES, active arch=armv7s, VALID_ARCHS=armv7 

2017-01-12 作者:yinhanmsn

iOS


1、No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=armv7s, VALID_ARCHS=armv7 armv6).

No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=armv7s, VALID_ARCHS=armv7 armv6)错误。虚拟机没事,一旦用真机就报这个错误,开始以为是我安装几个软件之后,安装不成功,系统问题。然后就是重装系统,都不成功。最终解决办法:

1.把Build Active Architecture Only 下面的Debug 设为NO release 设置为YES

2.Valid Architectures 设置为 armv7 armv6 就OK 了。

CodeSign error: code signing is required for product type 'Application' in SDK 'iOS 5.0'
解决方法如下:
选择工程->Build Settings -> Code Signing -> Code Signing Identity -> Debug -> Any ios SDK 将选项改为:iPhone Developer


相关推荐

返回
顶部