gpt4 book ai didi

Iphone 应用程序测试错误 - STComposeString 和 SenTestCase 错误

转载 作者:行者123 更新时间:2023-11-28 20:57:26 24 4
gpt4 key购买 nike

我在构建我的 iPhone 应用程序时遇到问题..所以,我终于完成了它,但是现在当我尝试测试或分析我的应用程序时,出现错误..

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)

最佳答案

您是在模拟器中运行它吗?基于此处的答案:

XCode 4.3 - Build error "missing required architecture armv7"

您的测试框架将无法在 iphone 上正常运行。

关于Iphone 应用程序测试错误 - STComposeString 和 SenTestCase 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9830811/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com