gpt4 book ai didi

ios - 如何更改 Podfile 中的现有存储库 URL,将所有 Pod 更新到新存储库

转载 作者:行者123 更新时间:2023-12-04 10:27:45 24 4
gpt4 key购买 nike

在更新 pod 文件时,它使用现有存储库询问大存储密码,但我没有密码(供应商大存储存储库),我想更改存储库 url。你能分享一下我如何更改网址吗?

 platform :ios, '10.0'
# Comment the next line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!
target 'Gaadi Bazaar' do

source 'vendor repository url.git'
#source 'own repository url.git'
source 'https://github.com/CocoaPods/Specs.git'
# Pods for GaadiBazaar
pod 'IXKit', '~> 0.1.3'
pod 'IXNetwork', '~> 0.1.2'
pod 'TTRangeSlider'
pod 'TPKeyboardAvoiding'
pod 'SideMenu', '~> 4.0.0'
pod 'OneSignal', '>= 2.6.2', '< 3.0'
pod 'LocaleManager'
pod 'Fabric'
pod 'Crashlytics'
pod 'YouTubePlayer'

end
target 'OneSignalNotificationServiceExtension' do
pod 'OneSignal', '>= 2.6.2', '< 3.0'
end

#post_install do |installer|
# installer.pods_project.build_configurations.each do |config|
# config.build_settings.delete('CODE_SIGNING_ALLOWED')
# config.build_settings.delete('CODE_SIGNING_REQUIRED')
# end
#end
post_install do |installer|
installer.pods_project.targets.each do |target|
target.new_shell_script_build_phase.shell_script = "mkdir -p $PODS_CONFIGURATION_BUILD_DIR/#{target.name}"
target.build_configurations.each do |config|
config.build_settings['SWIFT_VERSION'] = '4'
config.build_settings['CONFIGURATION_BUILD_DIR'] = '$PODS_CONFIGURATION_BUILD_DIR'
end
end
end

最佳答案

尝试这个:

pod 'SomePod', :git => 'https://github.com/someUser/SomePod'

关于ios - 如何更改 Podfile 中的现有存储库 URL,将所有 Pod 更新到新存储库,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60561612/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com