help wanteds7:workaround available
仓库指标
- 星标
- (14,815 个星标)
- PR 合并指标
- (PR 指标待抓取)
描述
- I've read and understood the CONTRIBUTING guidelines and have done my best effort to follow.
Report
What did you do?
- Install Pods files and create a Podfile.lock file using
pod install. - Change the version number of one of the Pod files
e.g.
pod 'YandexMobileMetrica/Dynamic','3.16.0'->pod 'YandexMobileMetrica/Dynamic','3.17.0' - Run
pod install
What did you expect to happen?
Install all pod dependencies correctly from the Podfile.lock.
What happened instead?
Installion from wrong installation source: e.g.
pod 'Alamofire', git: 'https://github.com/LimeHD/Alamofire.git', branch: 'v4.8.2_decrease_timeout_interval'useshttps://github.com/Alamofire/Alamofire.gitinstead ofhttps://github.com/LimeHD/Alamofire.gitpod 'Project', git: 'https://mob_sdk_partner:PARTNER_ID@gitlab.project.media/project/sdk_mob_ios_dist.git', tag: '4.4.2'usessshinstead ofhttp
Workaround
- Delete Podfile.lock.
- Run
pod install.
CocoaPods Environment
Stack
CocoaPods : 1.10.1
Ruby : ruby 2.6.3p62 (2019-04-16 revision 67580) [universal.x86_64-darwin20]
RubyGems : 3.0.3
Host : macOS 11.4 (20F71)
Xcode : 12.5 (12E262)
Git : git version 2.30.1 (Apple Git-130)
Ruby lib dir : /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib
Repositories : trunk - CDN - https://cdn.cocoapods.org/
Installation Source
Executable Path: /usr/local/bin/pod
Plugins
cocoapods-deintegrate : 1.0.4
cocoapods-plugins : 1.0.0
cocoapods-search : 1.0.0
cocoapods-stats : 1.1.0
cocoapods-trunk : 1.4.1
cocoapods-try : 1.1.0
Podfile
# Uncomment this line to define a global platform for your project
platform :ios, '9.0'
# Uncomment this line if you're using Swift
use_frameworks!
target 'MyPROJECT' do
pod 'ActionSheetPicker-3.0'
pod 'Alamofire', git: 'https://github.com/LimeHD/Alamofire.git', branch: 'v4.8.2_decrease_timeout_interval'
pod 'Firebase/Analytics','7.11.0'
pod 'Firebase/Crashlytics','7.11.0'
pod 'Google-Mobile-Ads-SDK','7.69.0'
pod 'GoogleMobileAdsMediationFacebook'
pod 'GoogleMobileAdsMediationMyTarget'
pod 'GoogleMobileAdsMediationMoPub'
pod 'google-cast-sdk','4.4.7'
pod 'GoogleAds-IMA-iOS-SDK'
pod 'SwiftyStoreKit'
pod 'SwiftyJSON'
pod 'M3U8Kit', git: 'https://github.com/LimeHD/M3U8Parser.git', branch: 'limehd_0.2.5'
pod 'mopub-ios-sdk'
pod 'YandexMobileAds/Dynamic','~> 4.1'
pod 'YandexMobileMetrica/Dynamic','3.16.0'
pod 'YandexMobileMetricaPush/Dynamic'
pod 'RealmSwift', '4.4.1'
pod 'myTargetSDK'
pod 'Project', git: 'https://mob_sdk_partner:PARTNER_ID@gitlab.project.media/project/sdk_mob_ios_dist.git', tag: '4.4.2'
end
target 'NotificationService' do
pod 'YandexMobileMetricaPush/Dynamic'
end
deployment_target = '9.0'
post_install do |installer|
installer.generated_projects.each do |project|
project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = deployment_target
end
end
project.build_configurations.each do |config|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = deployment_target
end
end
end
Project that demonstrates the issue
Private.