升级到2.10.5之后,之前写的插件在iOS打包的时候
因为引用了第三方的framework,导致会报错,
此时需要在插件工程的****.podspec文件添加
s.ios.vendored_frameworks = 'Frameworks/****SDK.framework'
s.vendored_frameworks = '****SDK.framework'
### 基础库
s.frameworks = 'SystemConfiguration'
s.libraries = 'stdc++'
s.pod_target_xcconfig = {
'DEFINES_MODULE' => 'YES',
'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386',
'ENABLE_BITCODE' => 'NO',
'OTHER_CFLAGS' => '$(inherited) $(ALGORITHMS)',
'OTHER_LDFLAGS' => '$(inherited) -ObjC',
}