2012-03-22 90 views
1

我遇到了構建我的iPhone應用程序的問題..所以,我終於完成了它,但現在當我嘗試測試或剖析我的應用程序時,出現錯誤..iPhone應用程序測試錯誤 - STComposeString和SenTestCase錯誤

Undefined symbols for architecture armv7: 
    "_STComposeString", referenced from: 
     -[TaxiApp_Tests testExample] in TaxiApp_Tests.o 
    "_OBJC_CLASS_$_SenTestCase", referenced from: 
     _OBJC_CLASS_$_TaxiApp_Tests in TaxiApp_Tests.o 
    "_OBJC_METACLASS_$_SenTestCase", referenced from: 
     _OBJC_METACLASS_$_TaxiApp_Tests in TaxiApp_Tests.o 
ld: symbol(s) not found for architecture armv7 
clang: error: linker command failed with exit code 1 (use -v to see invocation) 
+0

此問題的重複 - > http://stackoverflow.com/questions/9614313/xcode-4-3-build-error-missing-required-architecture-armv7/9614639#9614639 – 2012-03-22 21:32:55

回答

0

你在模擬器中運行它嗎?基於答案在這裏:

XCode 4.3 - Build error "missing required architecture armv7"

您的測試框架不會在iPhone上正常運行。

+0

我正在測試我的iPhone ..有什麼區別嗎? – dsafa 2012-03-22 21:37:06

+0

是的,正如我所說,你的測試框架不會在iPhone上運行,請參閱鏈接的答案。 – blueberryfields 2012-03-22 21:37:46

+0

我已經看到這篇文章..但我可以幫助自己:/ – dsafa 2012-03-22 21:38:16