我正在使用iphone_sdk_3.0_beta_5__9m2735 SDK。 當我嘗試使用模擬器3.0選項編譯我的代碼時,出現以下錯誤。代碼編譯爲其餘全部模擬器選項,也就是2.0,2.1,2.2,2.2.1 在編寫我的代碼,我得到以下錯誤UIKit SDK 3.0錯誤
from /Users/videomac/manish/EXPLab/2009-05-27-11-20 myApp_LL_2/myApp_Prefix.pch:7: In file included from /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:30, /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILocalizedIndexedCollation.h:11: error: syntax error before 'AT_NAME' token /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILocalizedIndexedCollation.h:19: error: syntax error before '}' token /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILocalizedIndexedCollation.h:21: fatal error: method definition not in @implementation context
的誤差位於文件UILocalizedIndexedCollation.h這是SDK file.I上午使用SDK 3.0的UIKit框架。任何人都可以告訴我該怎麼做才能消除此錯誤?
同時發佈查詢,我會記住這一點。 – Manish 2009-05-29 08:50:03
@Roger,我認爲你的意思是我們「不應該」在這裏討論beta產品。 – Abizern 2009-05-29 17:21:39