ios - 将 iOS 应用程序从非 ARC 迁移到 ARC 的截止日期

标签 ios automatic-ref-counting

Apple 宣布从 2015 年 5 月 1 日起提交到应用商店的 mac 应用程序必须启用 ARC。 iOS 应用从非 ARC 迁移到 ARC 是否有最后期限??

提前致谢。

最佳答案

对于不支持 Garbage Collection 的 iOS 应用程序,从来没有任何官方日期。他们只给出了不支持 Garage Collection 的 Mac 应用程序的官方日期,即 2015 年 5 月 1 日,不过我可能会说 Apple 会在下一个 iOS 版本中说Garbage Collection 将被正式删除。我会密切关注 xcode IDE 发行说明,因为它们之前在 xcode 5 release notes 中声明过这将是支持 Mac 应用程序 Garbage Collection

的最终版本

Garbage Collection Support

Xcode 5 ending support for OS X garbage collection.

Garbage collection is a deprecated technology in OS X Mountain Lion and later. Xcode 5 is scheduled to be the last release of the Xcode developer tools to support building, debugging, or profiling Mac apps that use garbage collection. It is recommended that any projects using GC employ the Xcode migration tool to convert to ARC (Automatic Reference Counting.)

2015 年 2 月 20 日,Apple 在 news release 中给出了官方日期 2015 年 5 月 1 日

Beginning May 1, 2015, new Mac apps and app updates submitted to the Mac App Store may no longer use garbage collection, which was deprecated in OS X Mountain Lion. Instead, migrate your apps to Automatic Reference Counting, using the migration assistant in Xcode to help with this transition. Apps may continue to use retain/release for manual memory management.

所以我的建议是密切关注 xcode 发行说明和 news Apple Developer 网站的部分,看看他们是否会在接下来的几个月内发布任何官方内容。

我在网上进行了很好的搜索,找不到任何与不再支持 Garbage Collection 的 iOS 相关的内容,但这并不意味着它支持 Garbage Collection 仍然。众所周知,Apple 只做事情而不记录它。老实说,我想说现在就用任何方式使用 ARC 制作你的应用程序,因为它更容易,你为什么要这样做两次?如果我看到任何与此相关的内容,我会添加。

关于ios - 将 iOS 应用程序从非 ARC 迁移到 ARC 的截止日期,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28668834/

相关文章:

ios - 泄漏工具未发现泄漏,但未释放内存

iphone - NSURLConnection 下载委托(delegate)方法未被调用

iphone - 我如何知道用户是否在应用商店中对应用进行了评分

ios - 在 iOS 中实现交互式 pdf

swift - Swift 的自动引用计数的自动性是什么?

ios ARC 表访问错误

ios - ARC 和自动释放

iOS:销毁viewDidDisappear中的 subview ?

iphone - Facebook 单点登录 (SSO) 停止授权现有的 iPhone 应用程序

ios - fatal error : could not demangle keypath type