/*
* 我是在Xcode7.3运行的时候报错,pod update后也不行报错could not build module dnssd
* 按照下边的代码可修复
*/
#if !(TARGET_IPHONE_SIMULATOR)
//@import dnssd;
#import <dns_sd.h>
#else
//@import dnssdSimu;
#import <dns_sd.h>
#endif
/*
* 如果项目报错could not build module libxml
* 按照下边的代码可修复
*/
#if !(TARGET_IPHONE_SIMULATOR)
//@import libxml;
#import <libxml/tree.h>
#else
//@import libxmlSimu;
#import <libxml/tree.h>
#endif
原文地址: http://newtips.co/st/questions/33595234/xmppframework-could-not-build-module-libxml.html