在更新 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