Closed Atteprojects closed 4 years ago
Hi, I'm really glad to hear you are using this plugin :) If I get it right, you have this bug on ios.. I'll try my best to fix this issue as soon as possible.
Yes, I am getting this error on ios, but i am getting a different error on Android and i will post that soon. Thank you for replying so quick.
Apparently, The problem caused because this plugin include also the web plugin too (as endorsed plugin). Web support is officially available from version 0.8.0, so I believe you should at the moment to downgrade to version 0.7.*
I fixed the issue in newest version, please check if works good for you.
Thank you for your fast response again but when i downgraded to 0.7.0 i got this error
Launching lib/main.dart on iPhone 11 in debug mode... Running pod install... 1.0s CocoaPods' output: ↳ Preparing Analyzing dependencies Inspecting targets to integrate Using
ARCHSsetting to build architectures of target
Pods-Runner`: (``)
Finding Podfile changes
A flutter_mongo_stitch
A streams_channel
Flutter
from Flutter
-> Fetching podspec for flutter_mongo_stitch
from .symlinks/plugins/flutter_mongo_stitch/ios
-> Fetching podspec for streams_channel
from .symlinks/plugins/streams_channel/ios
Resolving dependencies of Podfile
CDN: trunk Relative path: CocoaPods-version.yml exists! Returning local because checking is only perfomed in repo update
[!] CocoaPods could not find compatible versions for pod "flutter_mongo_stitch":
In Podfile:
flutter_mongo_stitch (from .symlinks/plugins/flutter_mongo_stitch/ios
)
Specs satisfying the flutter_mongo_stitch (from
.symlinks/plugins/flutter_mongo_stitch/ios)
dependency were found, but they required a higher minimum deployment target.
/Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:328:in raise_error_unless_state' /Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:310:in
block in unwind_for_conflict'
/Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:308:in tap' /Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:308:in
unwind_for_conflict'
/Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:684:in attempt_to_activate' /Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:254:in
process_topmost_state'
/Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:182:in resolve' /Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/resolver.rb:43:in
resolve'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/resolver.rb:94:in resolve' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/installer/analyzer.rb:1065:in
block in resolve_dependencies'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/user_interface.rb:64:in section' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/installer/analyzer.rb:1063:in
resolve_dependencies'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/installer/analyzer.rb:124:in analyze' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/installer.rb:410:in
analyze'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/installer.rb:235:in block in resolve_dependencies' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/user_interface.rb:64:in
section'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/installer.rb:234:in resolve_dependencies' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/installer.rb:156:in
install!'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/command/install.rb:52:in run' /Library/Ruby/Gems/2.6.0/gems/claide-1.0.3/lib/claide/command.rb:334:in
run'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/command.rb:52:in run' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/bin/pod:55:in
<top (required)>'
/usr/local/bin/pod:23:in load' /usr/local/bin/pod:23:in
and my podfile looks like this, part of it at least
` platform :ios, '9.0'
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
project 'Runner', { 'Debug' => :debug, 'Profile' => :release, 'Release' => :release, } ... `
I also tried the new version and I got the same error. BTW i was able to get the android version working last night, I just had to change the
minSdkVersion 16 to minSdkVersion 21
in the android/app/build.gradle file.
I was able to fix the problem by changing platform :ios, '9.0' to platform :ios, '11.0'
in the pod file. ios/podfile.
Everything seems to be working fine now.
I'm really happy to hear all problems solved BTW, i mentioned to use ios 11/ android api 21 in the README, but I think I'll make it more clear
Hello, first of all, thank you for working on this package, very useful. it is my first time using it and my app keeps crushing before it even starts.
this is the debug output, the latest one at least.
Launching lib/main.dart on iPhone 11 in debug mode... Running pod install... 1.7s CocoaPods' output: ↳ Preparing Analyzing dependencies Inspecting targets to integrate Using
ARCHSsetting to build architectures of target
Pods-Runner`: (``) Finding Podfile changes A flutter_mongo_stitch A flutter_mongo_stitch_web A streams_channelFlutter
fromFlutter
-> Fetching podspec forflutter_mongo_stitch
from.symlinks/plugins/flutter_mongo_stitch/ios
-> Fetching podspec forflutter_mongo_stitch_web
from.symlinks/plugins/flutter_mongo_stitch_web/ios
[!] No podspec found forflutter_mongo_stitch_web
in.symlinks/plugins/flutter_mongo_stitch_web/ios
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/external_sources/path_source.rb:14:inblock in fetch' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/user_interface.rb:64:in
section' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/external_sources/path_source.rb:11:infetch' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/installer/analyzer.rb:980:in
fetch_external_source' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/installer/analyzer.rb:959:inblock (2 levels) in fetch_external_sources' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/installer/analyzer.rb:958:in
each' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/installer/analyzer.rb:958:inblock in fetch_external_sources' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/user_interface.rb:64:in
section' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/installer/analyzer.rb:957:infetch_external_sources' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/installer/analyzer.rb:117:in
analyze' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/installer.rb:410:inanalyze' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/installer.rb:235:in
block in resolve_dependencies' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/user_interface.rb:64:insection' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/installer.rb:234:in
resolve_dependencies' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/installer.rb:156:ininstall!' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/command/install.rb:52:in
run' /Library/Ruby/Gems/2.6.0/gems/claide-1.0.3/lib/claide/command.rb:334:inrun' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/command.rb:52:in
run' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/bin/pod:55:in<top (required)>' /usr/local/bin/pod:23:in
load' /usr/local/bin/pod:23:in<main>' Error running pod install Error launching application on iPhone 11. Exited (sigterm)
am I missing something?