Xcode ARC转换工具问题

问题描述:

我第一次运行ARC转换工具。我按照说明处理了转换工具在实际运行之前找到的文件中的所有问题/错误。我还有几个第三方库,我告诉ARC跳过它们在转换目标对话框中取消选中它们。运行该工具后,它会向我显示所有已更改文件的报告,但没有更改任何文件。接下来,我保存并尝试构建项目,但发现由于在项目中保留和释放的所有调用,我有近1000个构建错误。我的理解是转换工具应该删除所有保留,释放和自动释放的调用,但对我来说情况并非如此。

I'm running the ARC conversion tool for the first time. I've followed the instructions and dealt with all of the issues/erros in my files that the conversion tool finds before it will actually run. I also have several third party libraries that I've told ARC to skip by unchecking them in the Targets to Convert dialog. After running the tool it shows me a report of all the changed files but no files have been changed. Next I save and try to build the project only to find that I have nearly 1000 build errors due to all the calls to retain and release in my project. It's my understanding that the conversion tool is supposed to remove all calls to retain, release, and autorelease but that isn't the case for me.

之前是否有人遇到此问题,如果是这样,您是如何解决的?或者我有责任删除所有保留&从我的应用程序发布?如果是这样,我不确定转换工具的意义。请指教。

Has anybody encountered this problem before and if so how did you solve it? Or is it my responsibility to remove all retains & releases from my app? If so I'm not sure what the point of the conversion tool is. Please advise.

提前致谢

我即将在我自己相当大的项目上尝试这个,所以我可能会回来提出更多问题,但我发现这可能会有所帮助:
http://meandmark.com/blog/2011/11/xcode-4-2-convert-to-arc-troubleshooting/

I am about to try this on my own rather large project, so I may be back with more questions, but I found this that might help: http://meandmark.com/blog/2011/11/xcode-4-2-convert-to-arc-troubleshooting/

您是否在代码中使用GIT存储库?由于描述的快照问题,它可能无法转换。

Are you using GIT repositories for your code? It may not be converting due to the snapshot issue described.