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

Deadline for moving iOS apps to ARC from Non-ARC

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

提前致谢。

在 mac 中,垃圾收集已被弃用,并且不再适用于从 2015 年 5 月 1 日起上传的应用程序。但是在 iOS 中,没有垃圾收集可用。

iOS 不支持 Garbage Collection 的应用程序从未有过任何官方日期。他们只给出了 Mac 不支持 Garage Collection 的应用程序的官方日期,即 May 1st 2015,不过我可能会说苹果会在 iOS 的下一个版本中说 Garbage Collection 将被正式删除。我会密切关注 xcode IDE 发行说明,正如他们之前在 xcode 5 release notes 中所述,它将是支持 Mac 应用 Garbage Collection 的最终版本 [=26] =]

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

中给出了官方日期 May 1st 2015

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 发行说明和 Apple Developer 网站的 news 部分,看看他们是否会在接下来的几个月内发布任何官方内容。

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