我一直有一个问题,只有文本文件下载期间,荚安装。最初我有谷歌移动广告cocoapods回购,现在我正在尝试为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完整的框架等等。因此,我希望有人有一个解决方案,因为我在网上发现的还没有完全解释它。
发布于 2016-06-28 17:38:12
最后,在推迟几天并尝试各种方法之后,终于成功地完成了这项工作。
到头来只需要
vendored_frameworks 并注释掉
frameworks, source_files and resources。另外,因为在项目实际被传递但每次安装失败之后,在将pod文件集成到项目中遇到困难时,我不得不恢复到0.39.0,因为看起来
pod install --no-integrate 在1.0版中不支持。
https://stackoverflow.com/questions/37999819
复制相似问题