Cocoapods 本地 repo 抓取框架以外的所有文件

Cocoapods local repo grabbing all files other than frameworks

我一直遇到在 pod 安装期间只下载文本文件的问题。最初我有 googlemobile ads cocoapods 存储库,现在我正在尝试为 Adob​​eCreativeSDK 添加本地存储库。我已经设法能够从 google 和我的本地存储库下载所有文件,但本地存储库中的框架除外。我的 PodFile 是

project 'BonziTeam.xcodeproj'

# Uncomment this line to define a global platform for your project
# platform :ios, '9.0'

target 'BonziTeam' do
pod ‘GoogleMobileAds’
pod ‘AdobeCreativeSDK‘, :git => 'ssh://ashley_alvarado@bugz.bonzitech.com/repos/libraries/ios_creative_sdk.git', :tag => 'v0.13.2139'
#   source 'ssh://ashley_alvarado@bugz.bonzitech.com/repos/libraries/ios_creative_sdk.git' 
# Comment this line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!

# Pods for BonziTeam

end

还有我的 podspec 文件

Pod::Spec.new do |spec|
 spec.name               = 'AdobeCreativeSDK'
 spec.version            = '0.13.2139'
 spec.license            = { :type => 'BSD' }
 spec.homepage           = 'https://www.bonziteam.com'
 spec.authors            = { 'Ashley Alvarado' => 'ashley.alvarado@gobonzi.com' }
 spec.summary            = 'Adobes private sdk, largely used for aviary'
 spec.source             = { :git => 'ssh://ashley_alvarado@bugz.bonzitech.com/repos/libraries/ios_creative_sdk.git', :tag => '0.13.2139' }
 spec.platform    = :ios, '9.0'
 spec.requires_arc = false
 spec.source_files = '*', '*.framwork', 'AdobeCreativeSDKAssetModel.{h,m}'
 spec.resources = '*', 'AdobeCreativeSDKAssetModel.{h,m}', '*.framework'
 spec.frameworks = 'AdobeCreativeSDKAssetModel', 'AdobeCreativeSDKColor', 'AdobeCreativeSDKImage', 'AdobeCreativeSDKAssetUX', 'AdobeCreativeSDKCommonUX', 'AdobeCreativeSDKMarketUX', 'AdobeCreativeSDKAppLibraryUX', 'AdobeCreativeSDKBehance', 'AdobeCreativeSDKCore'
end

如您所见,我只是在尝试让框架与其余文件一起传递时抛出一些东西,从本地存储库传递的所有其他文件本质上只是文本文件。我仍然得到 googlemobileads 完整框架和所有。所以我希望有人有解决方案,因为我在网上找到的内容没有完全解释。

搁置了几天,尝试了各种方法,终于搞定了。

最终只需要

vendored_frameworks 

并注释掉

frameworks, source_files and resources

。另外,因为在 pod 文件实际通过后很难将它们集成到项目中,但每次我不得不恢复到 0.39.0 时都安装失败,因为看起来

pod install --no-integrate 

v1.0 不支持。