我一直遇到在pod安装期间只下载文本文件的问题。最初我有自己的googlemobile广告cocoapods repo现在我正在尝试为AdobeCreativeSDK添加本地存储库。我已经设法能够从谷歌和本地仓库下载所有文件,除了本地仓库中的框架。我的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完全框架和所有。所以我希望有人有解决方案,因为我在网上找到的并没有完全解释它。
答案 0 :(得分:0)
最后设法在推迟几天并尝试各种方法后开始工作。
结束所有需要的是
vendored_frameworks
并评论
frameworks, source_files and resources
。此外,因为很难在实际传递后将pod文件集成到项目中,但每次我必须恢复到0.39.0时安装失败,因为它似乎
pod install --no-integrate
v1.0不支持。