首页 > 解决方案 > Cocoapods 安装 Parse SDK 的 release 而不是 master 分支

问题描述

我正在尝试通过 cocoapods 安装 Parse SDK 的主分支。但是它会继续安装 1.18 版本。我已经尝试解析 repo update 并删除锁定文件。还有其他建议吗?我的 podfile 如下-

platform :ios, '12.0'
use_modular_headers!

def parse_utilities
pod 'Parse/UI', :git => 'https://github.com/parse-community/Parse-SDK-iOS-OSX.git', :branch => 'master'
pod 'Parse/FacebookUtils', :git => 'https://github.com/parse-community/Parse-SDK-iOS-OSX.git', :branch => 'master'
end

def parse_framework
pod 'Parse', :git => 'https://github.com/parse-community/Parse-SDK-iOS-OSX.git', :branch => 'master'
end

target 'BackcountrySkiTracker' do
parse_framework
parse_utilities
pod 'INTULocationManager'
pod 'DKImagePickerController'
pod 'UIImageView-Letters'
end

target 'BCWeatherWidgetExtension' do
parse_framework

end

标签: iosgitparse-platformcocoapods

解决方案


Never mind, after deintegrating and installing about two dozen times I was able to pull from the master.


推荐阅读