我想在XCode 4.2 beta(Build 4D58)中構建一個簡單的OS X命令行應用程序。但我發現了一個錯誤,當我嘗試編譯它說:XCode - XCode 4.2 beta ARC無法編譯
/Developer/SDKs/MacOSX10.7.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSZone.h:57:22: error: 'CFMakeCollectable' is unavailable: not available in automatic reference counting mode [3] return (cf ? (id)CFMakeCollectable(cf) : nil);
而且
/Developer/SDKs/MacOSX10.7.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:173:13: error: use of undeclared identifier '__bridge_retain' [3] return (__bridge_retain CFTypeRef)X;
我想這已經是與ARC,但我不知道這樣做有什麼我應用編譯?