2012-11-16 37 views
0

我發展具有的XCode 4.1.1

應用我加入了圖書館從http://sudzc.com/爲使用Web服務。

當我編譯應用程序,它提供這樣的錯誤:

Undefined symbols for architecture i386: 
    "_OBJC_CLASS_$_SDZInfo", referenced from: 
     objc-class-ref in SimpleTableViewAppDelegate.o 
     objc-class-ref in RootViewController.o 
    "_OBJC_CLASS_$_SoapFault", referenced from: 
     objc-class-ref in RootViewController.o 
ld: symbol(s) not found for architecture i386 
clang: error: linker command failed with exit code 1 (use -v to see invocation) 

的XCode的結構構建2.4和Deplo yment指標5.1。

該解決方案不爲我工作,因爲SimpleTableViewAppDelegate.m和RootViewController.m添加"You can get this type of error if your class' .m file is not listed under the "Compile Sources" step of the "Build Phases" tab of your target. Normally Xcode does this for you, but sometimes it loses the plot and you need to add the .m file manually"

在此先感謝您的幫助。

回答

0

錯誤是說缺少的文件是包含SDZInfoSoapFault的文件。您提到的兩個.m文件必須已經在項目中,因爲它們被列爲需要的地方

相關問題