2014-10-18 89 views
0

我正在尝试在我的项目中设置葫芦。架构x86_64的未定义符号葫芦

我按照这个教程:http://angelolloqui.com/blog/25-Acceptance-testing-with-Calabash-and-CocoaPods

但它像现在的新目标没有找到豆荚clases的休息,我得到这个错误:

Undefined symbols for architecture x86_64: 
    "_OBJC_CLASS_$_AFHTTPRequestOperationManager", referenced from: 
     objc-class-ref in INCWorldWeatherOnline.o 
    "_OBJC_CLASS_$_AFJSONRequestSerializer", referenced from: 
     objc-class-ref in INCWorldWeatherOnline.o 
    "_OBJC_CLASS_$_MTLJSONAdapter", referenced from: 
     objc-class-ref in INCWorldWeatherOnline.o 
    "_OBJC_CLASS_$_MTLModel", referenced from: 
     _OBJC_CLASS_$_INCForecastCondition in INCForecastCondition.o 
     _OBJC_CLASS_$_INCCurrentCondition in INCCurrentCondition.o 
    "_OBJC_CLASS_$_MTLValueTransformer", referenced from: 
     objc-class-ref in INCForecastCondition.o 
     objc-class-ref in INCCurrentCondition.o 
    "_OBJC_METACLASS_$_MTLModel", referenced from: 
     _OBJC_METACLASS_$_INCForecastCondition in INCForecastCondition.o 
     _OBJC_METACLASS_$_INCCurrentCondition in INCCurrentCondition.o 
ld: symbol(s) not found for architecture x86_64 
clang: error: linker command failed with exit code 1 (use -v to see invocation) 

原来的目标是工作无问题

任何想法?

回答

-2

在你的目标的生成设置,尝试改变Build Active Architecture Only


Debug->Yes 
+0

我下来投票,因为建筑活动的体系结构将导致在葫芦测试期间不兼容的体系结构问题。 – jmoody 2015-05-01 13:02:59

0

我得到这个错误时,我建立有源体系只有“NO”
,只是用产品上传的建立在iTunes商店 - >档案 我不知道为什么会发生这种情况,但它为我工作

相关问题