glassfy / glassfy-flutter

Open source SDK to quickly integrate subscriptions, stop worring about code maintenance, and getting advanced real-time data. Javascript / iOS glue framework
MIT License
21 stars 4 forks source link

Cannot install glassfy in new app #10

Closed johnareid54 closed 1 year ago

johnareid54 commented 1 year ago

Today (15th March) for some reason pod install reports error with the glassfy:

Analyzing dependencies [!] CocoaPods could not find compatible versions for pod "glassfy_flutter": In Podfile: glassfy_flutter (fromFlutter/ephemeral/.symlinks/plugins/glassfy_flutter/macos`)

Specs satisfying the glassfy_flutter (fromFlutter/ephemeral/.symlinks/plugins/glassfy_flutter/macos) dependency were found, but they required a higher minimum deployment target.`

I could not find what the deployment target required is - so I thought I try a new project and see if that works: I have created a new flutter project (blank application) and installed glassfy using: flutter pub add glassfy_flutter

Launching lib/main.dart on macOS in debug mode... main.dart:1 CocoaPods' output: ↳ Preparing Analyzing dependencies Inspecting targets to integrate UsingARCHSsetting to build architectures of targetPods-Runner: (``) UsingARCHSsetting to build architectures of targetPods-RunnerTests: (``) Fetching external sources -> Fetching podspec forFlutterMacOSfromFlutter/ephemeral -> Fetching podspec forglassfy_flutterfromFlutter/ephemeral/.symlinks/plugins/glassfy_flutter/macos Resolving dependencies ofPodfile CDN: trunk Relative path: CocoaPods-version.yml exists! Returning local because checking is only performed in repo update [!] CocoaPods could not find compatible versions for pod "glassfy_flutter": In Podfile: glassfy_flutter (fromFlutter/ephemeral/.symlinks/plugins/glassfy_flutter/macos) Specs satisfying theglassfy_flutter (from Flutter/ephemeral/.symlinks/plugins/glassfy_flutter/macos)dependency were found, but they required a higher minimum deployment target. /opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:317:inraise_error_unless_state' /opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:299:in `block in unwind_for_conflict'

:90:in `tap' /opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:297:in `unwind_for_conflict' /opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:682:in `attempt_to_activate' /opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:254:in `process_topmost_state' /opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:182:in `resolve' /opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/molinillo-0.8.0/lib/molinillo/resolver.rb:43:in `resolve' /opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/resolver.rb:94:in `resolve' /opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/installer/analyzer.rb:1078:in `block in resolve_dependencies' /opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/user_interface.rb:64:in `section' /opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/installer/analyzer.rb:1076:in `resolve_dependencies' /opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/installer/analyzer.rb:124:in `analyze' /opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/installer.rb:416:in `analyze' /opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/installer.rb:241:in `block in resolve_dependencies' /opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/user_interface.rb:64:in `section' /opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/installer.rb:240:in `resolve_dependencies' /opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/installer.rb:161:in `install!' /opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/command/install.rb:52:in `run' /opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/claide-1.1.0/lib/claide/command.rb:334:in `run' /opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/bin/pod:55:in `' /opt/homebrew/Cellar/cocoapods/1.11.3/libexec/bin/pod:25:in `load' /opt/homebrew/Cellar/cocoapods/1.11.3/libexec/bin/pod:25:in `
' Exception: Error running pod install Exited`
johnareid54 commented 1 year ago

Thanks to the Federico Curzel on the slack channel - the issue was in the podfile which had platform :osx, '10.14' changed it to 10.15 and it was OK