我正在尝试将wsdl2objc与this soap web服务一起使用。但是当我在我的iPhone项目中使用它时,我收到了这个错误:
Undefined symbols:
".objc_class_name_ndfdXML", referenced from:
literal-pointer@__OBJC@__cls_refs@ndfdXML in HomeViewController.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
这里我使用了ndfdXML类。
ndfdXMLBinding *binding = [ndfdXML ndfdXMLBinding];
binding.logXMLInOut = NO;
有谁能告诉我如何解决这个问题?提前致谢。
这是我现在的错误
Undefined symbols:
"_typens_sectorTypeStringFromEnum", referenced from:
-[ndfdXMLBinding_CornerPoints main] in ndfdXML.o
"_typens_featureTypeTypeStringFromEnum", referenced from:
-[ndfdXMLBinding_GmlLatLonList main] in ndfdXML.o
-[ndfdXMLBinding_GmlTimeSeries main] in ndfdXML.o
"_typens_compTypeTypeStringFromEnum", referenced from:
-[ndfdXMLBinding_GmlTimeSeries main] in ndfdXML.o
"_typens_productTypeStringFromEnum", referenced from:
-[ndfdXMLBinding_NDFDgen main] in ndfdXML.o
-[ndfdXMLBinding_NDFDgenLatLonList main] in ndfdXML.o
"_typens_formatTypeStringFromEnum", referenced from:
-[ndfdXMLBinding_NDFDgenByDay main] in ndfdXML.o
-[ndfdXMLBinding_NDFDgenByDayLatLonList main] in ndfdXML.o
"_typens_displayLevelTypeStringFromEnum", referenced from:
-[ndfdXMLBinding_LatLonListCityNames main] in ndfdXML.o
ld: symbol(s) not found
collect2: ld returned 1 exit status