当前位置:网站首页>CocoaPods could not find compatible versions for pod 'Firebase/CoreOnly'
CocoaPods could not find compatible versions for pod 'Firebase/CoreOnly'
2022-07-06 01:13:00 【javail】
problem :
I've update my flutter package to the last versions and now IOS doesn't work anymore. I have updated my flutter pack to the latest version , Now? IOS It doesn't work anymore .
When I try to update the pods it's shows this error: When I try to update pod when , It will show this error :
[!] CocoaPods could not find compatible versions for pod "Firebase/CoreOnly": In Podfile: cloud_firestore (from `.symlinks/plugins/cloud_firestore/ios`) was resolved to 0.0.1, which depends on Firebase/Firestore (~> 6.0) was resolved to 6.0.0, which depends on Firebase/CoreOnly (= 6.0.0) cloud_functions (from `.symlinks/plugins/cloud_functions/ios`) was resolved to 0.0.1, which depends on Firebase/Functions (~> 5.18) was resolved to 5.18.0, which depends on Firebase/CoreOnly (= 5.18.0)Here my pubspec.yaml (Firebase related): This is my pubspec.yaml( And Firebase relevant ):
firebase_core: "^0.4.0"firebase_auth: "^0.11.0"firebase_analytics: "^3.0.0" cloud_firestore: "^0.11.0+1"cloud_functions: "^0.3.0"firebase_storage: "^3.0.0"firebase_messaging: "^5.0.1"I've made various steps to try to fix: I have taken various steps to try to fix :
flutter cleanflutter build iospod installpod updatepod repo updatepod install --repo-updateI've set platform :ios, '12.1' in Podfile and in Xcode as build target but nothing come back to works. I am here Podfile and Xcode Intermediate platform :ios、'12.1' Set as build goal , But it didn't work .
Here my podfile: This is my podcast file :
# Uncomment this line to define a global platform for your projectplatform :ios, '12.1'# CocoaPods analytics sends network stats synchronously affecting flutter build latency.ENV['COCOAPODS_DISABLE_STATS'] = 'true'project 'Runner', { 'Debug' => :debug, 'Profile' => :release, 'Release' => :release,}def parse_KV_file(file, separator='=') file_abs_path = File.expand_path(file) if !File.exists? file_abs_path return []; end pods_ary = [] skip_line_start_symbols = ["#", "/"] File.foreach(file_abs_path) { |line| next if skip_line_start_symbols.any? { |symbol| line =~ /^\s*#{symbol}/ } plugin = line.split(pattern=separator) if plugin.length == 2 podname = plugin[0].strip() path = plugin[1].strip() podpath = File.expand_path("#{path}", file_abs_path) pods_ary.push({:name => podname, :path => podpath}); else puts "Invalid plugin specification: #{line}" end } return pods_aryendtarget 'Runner' do use_frameworks! # Prepare symlinks folder. We use symlinks to avoid having Podfile.lock # referring to absolute paths on developers' machines. system('rm -rf .symlinks') system('mkdir -p .symlinks/plugins') # Flutter Pods generated_xcode_build_settings = parse_KV_file('./Flutter/Generated.xcconfig') if generated_xcode_build_settings.empty? puts "Generated.xcconfig must exist. If you're running pod install manually, make sure flutter packages get is executed first." end generated_xcode_build_settings.map { |p| if p[:name] == 'FLUTTER_FRAMEWORK_DIR' symlink = File.join('.symlinks', 'flutter') File.symlink(File.dirname(p[:path]), symlink) pod 'Flutter', :path => File.join(symlink, File.basename(p[:path])) end } # Plugin Pods plugin_pods = parse_KV_file('../.flutter-plugins') plugin_pods.map { |p| symlink = File.join('.symlinks', 'plugins', p[:name]) File.symlink(p[:path], symlink) pod p[:name], :path => File.join(symlink, 'ios') }endpost_install do |installer| installer.pods_project.targets.each do |target| target.build_configurations.each do |config| config.build_settings['ENABLE_BITCODE'] = 'NO' end endendSolution :
Reference resources : https://stackoom.com/en/question/3nCVC边栏推荐
- [groovy] compile time metaprogramming (compile time method interception | find the method to be intercepted in the myasttransformation visit method)
- 基于DVWA的文件上传漏洞测试
- SSH login is stuck and disconnected
- Live video source code, realize local storage of search history
- [pat (basic level) practice] - [simple mathematics] 1062 simplest fraction
- 激动人心,2022开放原子全球开源峰会报名火热开启
- Cglib dynamic agent -- example / principle
- 视频直播源码,实现本地存储搜索历史记录
- RAID disk redundancy queue
- MIT doctoral thesis | robust and reliable intelligent system using neural symbol learning
猜你喜欢

程序员搞开源,读什么书最合适?
![[groovy] compile time metaprogramming (compile time method injection | method injection using buildfromspec, buildfromstring, buildfromcode)](/img/e4/a41fe26efe389351780b322917d721.jpg)
[groovy] compile time metaprogramming (compile time method injection | method injection using buildfromspec, buildfromstring, buildfromcode)

Convert binary search tree into cumulative tree (reverse middle order traversal)

IP storage and query in MySQL

Threedposetracker project resolution

Exciting, 2022 open atom global open source summit registration is hot

MCU realizes OTA online upgrade process through UART
![[groovy] JSON serialization (jsonbuilder builder | generates JSON string with root node name | generates JSON string without root node name)](/img/dd/bffe27b04d830d70f30df95a82b3d2.jpg)
[groovy] JSON serialization (jsonbuilder builder | generates JSON string with root node name | generates JSON string without root node name)

关于#数据库#的问题:(5)查询库存表中每本书的条码、位置和借阅的读者编号

现货白银的一般操作方法
随机推荐
黄金价格走势k线图如何看?
MIT doctoral thesis | robust and reliable intelligent system using neural symbol learning
Exciting, 2022 open atom global open source summit registration is hot
Threedposetracker project resolution
curlpost-php
Cf:h. maximum and [bit operation practice + K operations + maximum and]
Recoverable fuse characteristic test
servlet(1)
Cglib dynamic agent -- example / principle
282. Stone consolidation (interval DP)
Convert binary search tree into cumulative tree (reverse middle order traversal)
Vulhub vulnerability recurrence 74_ Wordpress
In the era of industrial Internet, we will achieve enough development by relying on large industrial categories
What is the most suitable book for programmers to engage in open source?
Getting started with devkit
Daily practice - February 13, 2022
The third season of ape table school is about to launch, opening a new vision for developers under the wave of going to sea
FFT learning notes (I think it is detailed)
Cf:c. the third problem
Questions about database: (5) query the barcode, location and reader number of each book in the inventory table