阎阎

08 2017 档案

__nw_connection_get_connected_socket_block_invoke Connection has no connected handle 解决办法
摘要:1. Xcode menu -> Product -> Edit Scheme... 2. Environment Variables -> Add -> Name: "OS_ACTIVITY_MODE", Value:"disable" 3. Run your app again, done! 1 阅读全文

posted @ 2017-08-28 17:14 闹阿闹 阅读(973) 评论(0) 推荐(0)

error: 'retain' is unavailable: not available in automatic reference counting. 解决办法
摘要:报错原因是 项目使用的是ARC,但是有非ARC代码。 项目中要混合使用ARC和非ARC。 解决: 如果使用的非 ARC ,则为 ARC 的代码加入 -fobjc-arc 如果使用的是 ARC ,则为非 ARC 代码加入 -fno-objc-arc 判断项目是否用的ARC: 如果使用的非 ARC ,则 阅读全文

posted @ 2017-08-15 11:33 闹阿闹 阅读(1623) 评论(0) 推荐(0)

ProtocolBuffer for Objective-C Mac运行环境配置
摘要:ProtocolBuffer for Objective-C Mac运行环境配置 阅读全文

posted @ 2017-08-11 15:19 闹阿闹 阅读(345) 评论(1) 推荐(0)

导航