Undefined symbols for architecture arm64:
"_xmlDocDumpMemory", referenced from:
-[GDTPODS_GDataXMLDocument XMLData] in libGDTMobSDK.a(GDataXMLNode.o)
"_xmlSetNs", referenced from:
+[GDTPODS_GDataXMLElement fixQualifiedNamesForNode:graftingToTreeNode:] in libGDTMobSDK.a(GDataXMLNode.o)
+[GDTPODS_GDataXMLElement fixDuplicateNamespacesForNode:graftingToTreeNode:namespaceSubstitutionMap:] in libGDTMobSDK.a(GDataXMLNode.o)
"_xmlStrsub", referenced from:
+[GDTPODS_GDataXMLElement fixQualifiedNamesForNode:graftingToTreeNode:] in libGDTMobSDK.a(GDataXMLNode.o)
"_xmlFreeNs", referenced from:
+[GDTPODS_GDataXMLElement deleteNamespacePtr:fromXMLNode:] in libGDTMobSDK.a(GDataXMLNode.o)
"_xmlSearchNs", referenced from:
-[GDTPODS_GDataXMLElement elementsForName:] in libGDTMobSDK.a(GDataXMLNode.o)
-[GDTPODS_GDataXMLElement attributeForName:] in libGDTMobSDK.a(GDataXMLNode.o)
+[GDTPODS_GDataXMLElement fixQualifiedNamesForNode:graftingToTreeNode:] in libGDTMobSDK.a(GDataXMLNode.o)
"_xmlFreeNsList", referenced from:
-[GDTPODS_GDataXMLElement setNamespaces:] in libGDTMobSDK.a(GDataXMLNode.o)
"_xmlStrcmp", referenced from:
_StringCacheKeyEqualCallBack in libGDTMobSDK.a(GDataXMLNode.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
解决办法:在Xcode中解决(GDataXMLNode报错)libxml2.tbd找不到路径的问题
网友评论