16
我的項目包含XMPPFramework,其中包含必須與ARC一起使用的文件。但是我的項目是Non ARC,並且由於鏈接到它的某些其他庫而無法轉換。如何強制xcode在特定文件上使用ARC?
如何強制編譯器僅在某個類上使用ARC?
我的項目包含XMPPFramework,其中包含必須與ARC一起使用的文件。但是我的項目是Non ARC,並且由於鏈接到它的某些其他庫而無法轉換。如何強制xcode在特定文件上使用ARC?
如何強制編譯器僅在某個類上使用ARC?
這是this question的反問題。區別在於您將使用-fobjc-arc
而不是-fno-objc-arc
。