编译出现错误:

'release' is unavailable: not available in automatic reference counting mode..

解决办法:

You need to turn off Automatic Reference Counting. You do this by clicking on your project in the navigator (the top item in the finder-like thing on the left), then click on your target, select "Build Settings" and turn off the option "Objective-C Automatic Reference Counting" (you can use the search field on the upper right to search it).

单击工程名称,选择Build Settings下的Objective-c Automatic Reference Counting,将其调为No。如下图:

error: 'release' is unavailable: not available in automatic reference counting,该怎么解决相关推荐

  1. 错误解决:release' is unavailable: not available in automatic reference counting mode

    解决办法: You need to turn off Automatic Reference Counting. You do this by clicking on your project in ...

  2. 长路漫漫,唯剑作伴--Automatic Reference Counting

    一.引用计数 在OC中,对象什么时候会被释放? 答案是当对象没有被任何变量引用(也可以说是没有指针指向该对象)的时候,就会被释放. 怎么知道对象已经没有被引用了呢? OC采用引用计数(referenc ...

  3. Xcode 4.2 中的Automatic Reference Counting (ARC) (转)

    Automatic Reference Counting (ARC), 自动引用计数,是开发Cocoa程序时的一个编译级别的特性,用于自动内存管理. 在XCode 4.2中,使用模板新建一个工程,该工 ...

  4. Xcode 4.2 中的Automatic Reference Counting (ARC)

    Automatic Reference Counting (ARC), 自动引用计数,是开发Cocoa程序时的一个编译级别的特性,用于自动内存管理. 在XCode 4.2中,使用模板新建一个工程,该工 ...

  5. Automatic Reference Counting

    Automatic Reference Counting http://clang.llvm.org/docs/AutomaticReferenceCounting.html 转载于:https:// ...

  6. Swift-自动引用计数(Automatic Reference Counting)(十四)

    前言 在iOS5之后apple推出了相对于MRC(Mannul Reference Counting)的ARC(Automatic Reference Counting)的内存管理机制,前者是对内存的 ...

  7. linux redis release.c:37:10: fatal error: release.h: No such file or directory

    ​​​​​​(1条消息) redis源码安装出现fatal error: jemalloc/jemalloc.h: No such file or directory_feinifi的博客-CSDN博 ...

  8. 虚拟机启动报错error: Raw-mode is unavailable courtesy of Hyper-V

    虚拟机启动报错error: Raw-mode is unavailable courtesy of Hyper-V 之前玩docker的时候下载的hyper-v,正常情况下应该没有安装hyper-v, ...

  9. MySQL显示ERROR 2003 (HY000): Can‘t connect to MySQL server on ‘localhost‘ (10061)解决方法

    MySQL显示ERROR 2003 (HY000): Can't connect to MySQL server on 'localhost' (10061)解决方法 参考文章: (1)MySQL显示 ...

最新文章

  1. PreTranslateMessage作用和使用方法
  2. 必看2021年80后夫妻同时过信息系统项目管理师
  3. 解决svn错误:post-commit hook failed (exit code 1) with output
  4. AngularStrap -- Popovers
  5. oracle 控制文件冗余,Oracle 添加冗余控制文件 for RAC On Linux
  6. 搭建私有helm仓库及图形界面
  7. 寄存器地址和内存地址_3. 从0开始学ARMARM模式、寄存器、流水线
  8. Oracle修改SID(实例名)
  9. yum php5.6源码,5.2 YUM升级PHP5.6
  10. 20172329 2017-2018-2《程序设计与数据结构》课程总结
  11. 学号20155308 2016-2017-2 《Java程序设计》实验一(Java开发环境的熟悉)实验报告...
  12. Gephi下载百度云加速,舒服了
  13. 使用R包barplot3d绘制3D条形图-2020-07-04Sat
  14. 【C语言基础学习笔记】+ 【C语言进阶学习笔记】总结篇(坚持才有收获!)
  15. Python项目实战化:爬取堆糖网研究所美好生活照
  16. vite 本地运行首次进入页面加载慢问题
  17. Destoon 自定义模块
  18. easyui treegrid php,Easyui在treegrid添加控件实例教程
  19. 手把手带你入坑树莓派(3B+)之第二篇,使用Putty与电脑VNC远程控制树莓派
  20. mysql实现统计查询_MySQL 统计查询实现代码

热门文章

  1. 模态框到阻止冒泡时间
  2. semantic-ui-react图像组件不显示图像的问题
  3. 分享一个BookStore ios程序的例子
  4. 备份CSDN博客正文到本地存档
  5. 华为交换机端口绑定mac防arp欺骗
  6. 清除Solution中的vss信息
  7. CTOR对比Gavin提出的交易排序规则
  8. SCCM部署(四)---ADSI修改
  9. 关于导入springboot配置文件相关问题
  10. 递归--练习4--noi666放苹果