Ios podspec中的XMPPFramework

Ios podspec中的XMPPFramework,ios,cocoapods,xmppframework,podspec,Ios,Cocoapods,Xmppframework,Podspec,之前,我在podspec:s.dependency'XMPPFramework',3.6.6' 我知道为了修复“重新定义模块dnssd”的错误。我们应该直接从主分支发送pod: pod'XMPPFramework',:git=>“https://github.com/robbiehanson/XMPPFramework.git“,:branch=>‘master’ 不幸的是,我们不能使用没有版本的依赖项,所以我注释掉了依赖项,并使用podfile使用pull-XMPPFramework。我修复了

之前,我在
podspec:s.dependency'XMPPFramework',3.6.6'

我知道为了修复“重新定义模块dnssd”的错误。我们应该直接从主分支发送pod:

pod'XMPPFramework',:git=>“https://github.com/robbiehanson/XMPPFramework.git“,:branch=>‘master’

不幸的是,我们不能使用没有版本的依赖项,所以我注释掉了依赖项,并使用podfile使用pull-XMPPFramework。我修复了一些小问题,并能够构建应用程序,但当我尝试执行
pod spec lint
时,我遇到了以下错误:

- NOTE | xcodebuild: PHMessaging/PHMessaging/Classes/PHMessagingManager.h:20:9: fatal error: 'XMPP.h' file not found - NOTE | xcodebuild: PHMessaging/PHMessaging/Classes/PHBasicConversationViewController.h:10:9: fatal error: 'XMPPFramework/XMPPUser.h' file not found

我已经在GitHub上提出了CocoaPods,并且@BenAsher44建议创建一个私有规范repo,并将其添加到我的podspec中的依赖项中。这似乎不起作用。还有其他方法吗?

类似吗?不,不是我有多个目标,而是我无法使用我的podspec导入XMPPFramework。类似吗?不,不是我有多个目标,而是我无法使用我的podspec导入XMPPFramework。