报错-收集

No architectures to compile for(ONLY_ACTIVE_ARCH=YES

这种错误    修改building settings下 Build Active Architecture only 为NO即可。

dyld: Symbol not found: _objc_setProperty_nonatomic

_objc_setProperty_nonatomic是ios6.0的新方法,三方库设置了Deployment Target 为6.0就会调用这2个新增的方法,为ios5中没有,我们的项目是支持ios5的。所以报错。把lib的target设置为5.0之后,没有这个错误了

如果你在使用新浪sdk,使用了libWeiboSDK_X64的库,如果在5.x上运行,也会报这个错,猜测这个版本的库时6.x以下的。换成那个不带_X64的库,没有问题。

在使用百度统计是,如果出现类似错误

_OBJC_CLASS_$_CTTelephonyNetworkInfo referenced from:

  objc-class-ref in libXywyBaseLib.a(BaiduMobStatDeviceInfo.o)

  objc-class-ref in TencentOpenAPI(MTAHelper.o)

在buildPhases 下添加coreTelephoney.framework即可

no provisioning profile at path ‘/Users/user/Library/MobileDevice/Provisioning Profiles/XXXXX.XXX
 当报这种错误时,工程证书不正确,修改build setting下 的Provisioning Profile为正确的的项目证书即可

malformed or corrupted AST file: iosXXX,类似的错误时,时xcode编译器的问题,清理下/Library/Developer/Xcode/DerivedData下的数据
即可。(如果打不开文件因为Library是隐藏的,需要打开隐藏文件夹可见)

Assertion failure in -[UISectionRowData refreshWithSection:tableView:tableViewRowData:], /SourceCache/UIKit_Sim/UIKit-2903.23/UITableViewRowData.m:578

libc++abi.dylib: terminate_handler unexpectedly threw an exception

这个错误的原因是在计算tableview的高度是出错,

对现实的图片UIImage计算高度,但是此时image为nil,做了200/image.size.height这个操作

导致height += 200/image.size.height,这个计算后,height为NaN,之后报这个错误

在真机运行程序的时候提示“Could not launch ‘app name‘”,No such file or directory (/Users/apple/Library/Developer/Xcode/DerivedData/mytest-ejkagqxooxgmtdfsdoygtyzflibe/Build/Products/Debug-iphoneos/mytest.app/mytest)

此问题一般不是程序本身问题,而是xcode问题

解决方式如下:

先退出xcode,再把/Users/apple/Library/Developer/Xcode/DerivedData/下面的东西都删除(DerivedData本身不要删),再启动xcode,再rebuild.

报错-收集

时间: 2024-08-04 07:33:17

报错-收集的相关文章

yum 安装服务出现报错收集

yum 安装出现报错收集 问题: [[email protected] ~]$ sudo yum install etckeeper [sudo] password for me: Loaded plugins: refresh-packagekit, security Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package etckeeper.noarch 0:1

Java代码报错[收集整理]

1. com.ibatis.common.jdbc.exception.NestedSQLException: com.ibatis.common.jdbc.exception.NestedSQLException: --- The error occurred in com/visec/fileIssue/domain/fileIssue.xml. --- The error occurred while applying a parameter map. --- Check the file

centos7 ansible 报错收集

报错提示 /usr/lib/python2.7/site-packages/requests/__init__.py:80: RequestsDependencyWarning: urllib3 (1.21.1) or chardet (2.2.1) doesn't match a supported version! RequestsDependencyWarning) 原因: python库中urllib3 (1.21.1) or chardet (2.2.1) 的版本不兼容 解决方法: p

db2 执行报错收集

1.对于执行中的报错,可以在db2命令行下运行命令 : db2=>? SQLxxx 查看对应的报错原因及解决方法. 2.错误SQL0206N SQLSTATE=42703  检测到一个未定义的列.属性或参数名.  SQL0206N  "SQL_COU_ALL" is not valid in the context where it is used.  SQLSTATE=42703      db2 => ? "42703"          db2 =

C++语法报错收集

1. error C2864: "OuterClass::m_outerInt": 只有静态常量整型数据成员才可以在类中初始化 class OuterClass { public: OuterClass() { m_outerInt = 10; } private: int m_outerInt = 0;//这里报错 C++11 之前的标准只有静态常量整型数据成员,才可以在类中初始化. 2.

kettle报错收集

1.Caused by: java.sql.SQLException: Streaming result set [email protected] is still active. No statements may be issued when any streaming result sets are open and in use on a given connection. Ensure that you have called .close() on any active strea

dgango报错收集

1.报错TypeError: __init__() missing 1 required positional argument: 'on_delete' django2.0以后创建数据库外键的时候必须要加on_delete参数,参数具体含义: CASCADE:这就是默认的选项,级联删除,你无需显性指定它. PROTECT: 保护模式,如果采用该选项,删除的时候,会抛出ProtectedError错误. SET_NULL: 置空模式,删除的时候,外键字段被设置为空,前提就是blank=True,

zabbix源码安装流程及报错解决方法

zabbix源码安装流程及报错解决方法 一. zabbix的介绍 1) zabbix是什么 zabbix是一款基于web页面的.开源的.企业级的,支持分布式部署的监控软件. 2)2.zabbix的作用 监控windows和Linux主机上的软硬件状态. 监控各网络设备,如路由器.交换机.防火墙.f5.打印机等. 支持邮件短信微信等平台发送告警通知. 通过web页面及图形展示监控数据. 3)zabbix的特性 由zabbix server和agent程序协同工作,还支持分布式监控,这时需要安装za

大神的---解决tomcat内存溢出问题----tomcat报错:This is very likely to create a memory leak问题解决

tomcat memory leak解决方案 这种问题在开发中经常会碰到的,看看前辈的总结经验 Tomcat内存溢出的原因  在生产环境中tomcat内存设置不好很容易出现内存溢出.造成内存溢出是不一样的,当然处理方式也不一样. 这里根据平时遇到的情况和相关资料进行一个总结.常见的一般会有下面三种情况:  1.OutOfMemoryError: Java heap space  2.OutOfMemoryError: PermGen space  3.OutOfMemoryError: unab