项目无法构建,因为缺少 KIF 类。
我正在尝试使用一个简单的应用程序并严格遵循 github自述文件。此外,我已经仔细检查了阅读我关于这个问题的任何内容。我仍然无法让我的应用程序构建/运行测试。
谁能帮我解决这个问题?
谢谢。阿山
错误 :
ld: warning: ignoring file /Users/ahsan/Desktop/Others/LoginExampleKIF/libKIF.a, missing required architecture i386 in file /Users/ahsan/Desktop/Others/LoginExampleKIF/libKIF.a (2 slices)
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_KIFTestController", referenced from:
_OBJC_CLASS_$_EXTestController in EXTestController.o
"_OBJC_CLASS_$_KIFTestScenario", referenced from:
objc-class-ref in EXTestController.o
objc-class-ref in KIFTestScenario+EXAdditions.o
l_OBJC_$_CATEGORY_KIFTestScenario_$_EXAdditions in KIFTestScenario+EXAdditions.o
"_OBJC_CLASS_$_KIFTestStep", referenced from:
objc-class-ref in KIFTestScenario+EXAdditions.o
objc-class-ref in KIFTestStep+EXAdditions.o
l_OBJC_$_CATEGORY_KIFTestStep_$_EXAdditions in KIFTestStep+EXAdditions.o
"_OBJC_METACLASS_$_KIFTestController", referenced from:
_OBJC_METACLASS_$_EXTestController in EXTestController.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)