I’ve improve XCode and MacOS and now my Flutter venture (as at all times within the case of XCode) does not work. There’s some subject with pods however I do not perceive
Particulars
Command
/decide/homebrew/Cellar/cocoapods/1.13.0/libexec/bin/pod set up
Report
Stack
CocoaPods : 1.13.0
Ruby : ruby 3.2.2 (2023-03-30 revision e51014f9c0) [arm64-darwin23]
RubyGems : 3.4.10
Host : macOS 14.0 (23A344)
Xcode : 15.0.1 (15A507)
Git : git model 2.39.3 (Apple Git-145)
Ruby lib dir : /decide/homebrew/Cellar/ruby/3.2.2_1/lib
Repositories : trunk - CDN - https://cdn.cocoapods.org/
Plugins
cocoapods-clean : 0.0.1
cocoapods-deintegrate : 1.0.5
cocoapods-plugins : 1.0.0
cocoapods-search : 1.0.1
cocoapods-trunk : 1.6.0
cocoapods-try : 1.2.0
Podfile
# Uncomment this line to outline a worldwide platform to your venture
# platform :ios, '11.0'
# CocoaPods analytics sends community stats synchronously affecting flutter construct latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
venture 'Runner', {
'Debug' => :debug,
'Profile' => :launch,
'Launch' => :launch,
}
def flutter_root
generated_xcode_build_settings_path = File.expand_path(File.be a part of('..', 'Flutter', 'Generated.xcconfig'), __FILE__)
except File.exist?(generated_xcode_build_settings_path)
increase "#{generated_xcode_build_settings_path} should exist. Should you're operating pod set up manually, be sure flutter pub get is executed first"
finish
File.foreach(generated_xcode_build_settings_path) do |line|
matches = line.match(/FLUTTER_ROOT=(.*)/)
return matches[1].strip if matches
finish
increase "FLUTTER_ROOT not present in #{generated_xcode_build_settings_path}. Strive deleting Generated.xcconfig, then run flutter pub get"
finish
require File.expand_path(File.be a part of('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root)
flutter_ios_podfile_setup
goal 'Runner' do
use_frameworks!
use_modular_headers!
flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
goal 'RunnerTests' do
inherit! :search_paths
finish
finish
post_install do |installer|
installer.pods_project.targets.every do |goal|
flutter_additional_ios_build_settings(goal)
finish
finish
Error
JSON::ParserError - Did not parse JSON at file: '/Customers/koptehe/.cocoapods/repos/trunk/Specs/4/2/c/FlutterMacOS/3.13.2/FlutterMacOS.podspec.json'.
surprising token at ''
/decide/homebrew/Cellar/cocoapods/1.13.0/libexec/gems/cocoapods-core-1.13.0/lib/cocoapods-core/specification/json.rb:66:in `rescue in from_json'
/decide/homebrew/Cellar/cocoapods/1.13.0/libexec/gems/cocoapods-core-1.13.0/lib/cocoapods-core/specification/json.rb:61:in `from_json'
/decide/homebrew/Cellar/cocoapods/1.13.0/libexec/gems/cocoapods-core-1.13.0/lib/cocoapods-core/specification.rb:752:in `from_string'
/decide/homebrew/Cellar/cocoapods/1.13.0/libexec/gems/cocoapods-core-1.13.0/lib/cocoapods-core/specification.rb:726:in `from_file'
/decide/homebrew/Cellar/cocoapods/1.13.0/libexec/gems/cocoapods-core-1.13.0/lib/cocoapods-core/supply.rb:188:in `specification'
/decide/homebrew/Cellar/cocoapods/1.13.0/libexec/gems/cocoapods-core-1.13.0/lib/cocoapods-core/specification/set.rb:58:in `block in specification_name'
/decide/homebrew/Cellar/cocoapods/1.13.0/libexec/gems/cocoapods-core-1.13.0/lib/cocoapods-core/specification/set.rb:56:in `every'
/decide/homebrew/Cellar/cocoapods/1.13.0/libexec/gems/cocoapods-core-1.13.0/lib/cocoapods-core/specification/set.rb:56:in `specification_name'
/decide/homebrew/Cellar/cocoapods/1.13.0/libexec/gems/cocoapods-core-1.13.0/lib/cocoapods-core/cdn_source.rb:216:in `search'
/decide/homebrew/Cellar/cocoapods/1.13.0/libexec/gems/cocoapods-core-1.13.0/lib/cocoapods-core/supply/combination.rb:83:in `block in search'
/decide/homebrew/Cellar/cocoapods/1.13.0/libexec/gems/cocoapods-core-1.13.0/lib/cocoapods-core/supply/combination.rb:83:in `choose'
/decide/homebrew/Cellar/cocoapods/1.13.0/libexec/gems/cocoapods-core-1.13.0/lib/cocoapods-core/supply/combination.rb:83:in `search'
/decide/homebrew/Cellar/cocoapods/1.13.0/libexec/gems/cocoapods-1.13.0/lib/cocoapods/resolver.rb:416:in `create_set_from_sources'
/decide/homebrew/Cellar/cocoapods/1.13.0/libexec/gems/cocoapods-1.13.0/lib/cocoapods/resolver.rb:385:in `find_cached_set'
/decide/homebrew/Cellar/cocoapods/1.13.0/libexec/gems/cocoapods-1.13.0/lib/cocoapods/resolver.rb:360:in `specifications_for_dependency'
/decide/homebrew/Cellar/cocoapods/1.13.0/libexec/gems/cocoapods-1.13.0/lib/cocoapods/resolver.rb:165:in `search_for'
/decide/homebrew/Cellar/cocoapods/1.13.0/libexec/gems/cocoapods-1.13.0/lib/cocoapods/resolver.rb:274:in `block in sort_dependencies'
/decide/homebrew/Cellar/cocoapods/1.13.0/libexec/gems/cocoapods-1.13.0/lib/cocoapods/resolver.rb:267:in `every'
/decide/homebrew/Cellar/cocoapods/1.13.0/libexec/gems/cocoapods-1.13.0/lib/cocoapods/resolver.rb:267:in `sort_by'
/decide/homebrew/Cellar/cocoapods/1.13.0/libexec/gems/cocoapods-1.13.0/lib/cocoapods/resolver.rb:267:in `sort_by!'
/decide/homebrew/Cellar/cocoapods/1.13.0/libexec/gems/cocoapods-1.13.0/lib/cocoapods/resolver.rb:267:in `sort_dependencies'
/Customers/koptehe/.gem/ruby/2.7.2/gems/molinillo-0.8.0/lib/molinillo/delegates/specification_provider.rb:60:in `block in sort_dependencies'
/Customers/koptehe/.gem/ruby/2.7.2/gems/molinillo-0.8.0/lib/molinillo/delegates/specification_provider.rb:77:in `with_no_such_dependency_error_handling'
/Customers/koptehe/.gem/ruby/2.7.2/gems/molinillo-0.8.0/lib/molinillo/delegates/specification_provider.rb:59:in `sort_dependencies'
/Customers/koptehe/.gem/ruby/2.7.2/gems/molinillo-0.8.0/lib/molinillo/decision.rb:754:in `push_state_for_requirements'
/Customers/koptehe/.gem/ruby/2.7.2/gems/molinillo-0.8.0/lib/molinillo/decision.rb:744:in `require_nested_dependencies_for'
/Customers/koptehe/.gem/ruby/2.7.2/gems/molinillo-0.8.0/lib/molinillo/decision.rb:727:in `activate_new_spec'
/Customers/koptehe/.gem/ruby/2.7.2/gems/molinillo-0.8.0/lib/molinillo/decision.rb:684:in `attempt_to_activate'
/Customers/koptehe/.gem/ruby/2.7.2/gems/molinillo-0.8.0/lib/molinillo/decision.rb:254:in `process_topmost_state'
/Customers/koptehe/.gem/ruby/2.7.2/gems/molinillo-0.8.0/lib/molinillo/decision.rb:182:in `resolve'
/Customers/koptehe/.gem/ruby/2.7.2/gems/molinillo-0.8.0/lib/molinillo/resolver.rb:43:in `resolve'
/decide/homebrew/Cellar/cocoapods/1.13.0/libexec/gems/cocoapods-1.13.0/lib/cocoapods/resolver.rb:94:in `resolve'
/decide/homebrew/Cellar/cocoapods/1.13.0/libexec/gems/cocoapods-1.13.0/lib/cocoapods/installer/analyzer.rb:1082:in `block in resolve_dependencies'
/decide/homebrew/Cellar/cocoapods/1.13.0/libexec/gems/cocoapods-1.13.0/lib/cocoapods/user_interface.rb:64:in `part'
/decide/homebrew/Cellar/cocoapods/1.13.0/libexec/gems/cocoapods-1.13.0/lib/cocoapods/installer/analyzer.rb:1080:in `resolve_dependencies'
/decide/homebrew/Cellar/cocoapods/1.13.0/libexec/gems/cocoapods-1.13.0/lib/cocoapods/installer/analyzer.rb:125:in `analyze'
/decide/homebrew/Cellar/cocoapods/1.13.0/libexec/gems/cocoapods-1.13.0/lib/cocoapods/installer.rb:422:in `analyze'
/decide/homebrew/Cellar/cocoapods/1.13.0/libexec/gems/cocoapods-1.13.0/lib/cocoapods/installer.rb:244:in `block in resolve_dependencies'
/decide/homebrew/Cellar/cocoapods/1.13.0/libexec/gems/cocoapods-1.13.0/lib/cocoapods/user_interface.rb:64:in `part'
/decide/homebrew/Cellar/cocoapods/1.13.0/libexec/gems/cocoapods-1.13.0/lib/cocoapods/installer.rb:243:in `resolve_dependencies'
/decide/homebrew/Cellar/cocoapods/1.13.0/libexec/gems/cocoapods-1.13.0/lib/cocoapods/installer.rb:162:in `set up!'
/decide/homebrew/Cellar/cocoapods/1.13.0/libexec/gems/cocoapods-1.13.0/lib/cocoapods/command/set up.rb:52:in `run'
/Customers/koptehe/.gem/ruby/2.7.2/gems/claide-1.1.0/lib/claide/command.rb:334:in `run'
/decide/homebrew/Cellar/cocoapods/1.13.0/libexec/gems/cocoapods-1.13.0/lib/cocoapods/command.rb:52:in `run'
/decide/homebrew/Cellar/cocoapods/1.13.0/libexec/gems/cocoapods-1.13.0/bin/pod:55:in `<high (required)>'
/decide/homebrew/Cellar/cocoapods/1.13.0/libexec/bin/pod:25:in `load'
/decide/homebrew/Cellar/cocoapods/1.13.0/libexec/bin/pod:25:in `<primary>'
Flutter physician
Physician abstract (to see all particulars, run flutter physician -v):
[✓] Flutter (Channel secure, 3.13.6, on macOS 14.0 23A344 darwin-arm64)
[✓] Android toolchain - develop for Android units (Android SDK model 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.0.1)
[✓] Chrome - develop for the net
[✓] Android Studio (model 2022.3)
[✓] VS Code (model 1.83.1)
[✓] Related machine (2 accessible)
[✓] Community assets
Additional information
- I attempted to make
rm -rf ~/.cocoapods/repos/trunk
nevertheless it does not assist - I attempted to delete all cocoapods and set up once more (
gem record --local | grep cocoapods
then `gem uninstall - I attempted to reload my Mac
- I attempted all combos of
flutter clear
+flutter pub get
->pod set up
- I’ve created a brand new venture with outdated
pubspec.yaml
and after this it throw error onpod set up
pubspec.yaml
title: unknown_app
description: Unknown app
publish_to: 'none'
model: 1.0.0+1
surroundings:
sdk: ">=3.0.0 <4.0.0"
dependencies:
flutter:
sdk: flutter
flutter_localizations:
sdk: flutter
bloc: ^8.1.2
bloc_concurrency: ^0.2.2
equatable: ^2.0.5
firebase_core: ^2.20.0
intl: 0.18.1
formz: ^0.6.0
cupertino_icons: ^1.0.6
flutter_bloc: ^8.1.3
url_launcher: ^6.1.11
flutter_svg: ^2.0.7
geolocator: ^10.1.0
google_maps_flutter: ^2.5.0
google_maps_cluster_manager: ^3.0.0+1
flutter_native_timezone: ^2.0.0
http: ^1.1.0
webview_flutter: ^4.4.1
mask_text_input_formatter: ^2.4.0
image_picker: ^1.0.4
firebase_messaging: ^14.7.2
flutter_local_notifications: ^16.1.0
sentry_flutter: ^7.11.0
in_app_review: ^2.0.6
package_info_plus: ^4.0.2
flutter_secure_storage: ^9.0.0
rive: ^0.12.1
async: ^2.11.0
dev_dependencies:
bloc_test: ^9.1.3
mocktail: ^0.3.0
very_good_analysis: ^5.0.0+1
flutter_test:
sdk: flutter
flutter_lints: ^2.0.0
flutter:
uses-material-design: true
generate: true
# So as to add belongings to your utility, add an belongings part, like this:
belongings:
- belongings/icons/
I need to make a pod set up
and run my app on the iOS.