我创建了一个包含依赖项
的podspec文件s.dependency 'CountryPickerSwift', '~> 1.4'
s.dependency 'PhoneNumberKit', '~> 2.1.0'
当我尝试构建时,我遇到了这些错误:
Unable to run command 'StripNIB CountryView.nib' - this target might include its own product. Unable to run command 'StripNIB CountryViewiphone.nib' - this target might include its own product. Unable to run command 'StripNIB CountryViewipad.nib' - this target might include its own product.
正如其他人所指出的,解决方案是将nib添加到podspecs的s.resource部分, 但事实证明,那些笔尖不是我的代码的一部分,它们是依赖项的一部分(CountryPickerSwift)。在这种情况下该怎么做?
Pod版本:1.5.0 斯威夫特:4 OSX:Sierra 10.12.6