-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to resolve with the latest 2.1.0-dev version of dart sdk? #12
Comments
I am getting the same error. Also I get these warnings when I look at the code in the simple_auth_generator. The 'strong-mode: true' setting is deprecated. (strong_mode_setting_deprecated at [simple_auth_generator] analysis_options.yaml:2) info: 'strongMode' is deprecated and shouldn't be used. (deprecated_member_use at [simple_auth_generator] test/simple_auth_generator_test.dart:52) |
Flutter keep changing dependencies :( . I will push a new package now. I think that should fix it. |
Packages are updated. Please close the issue if it fixes it! |
newb question here; do i run the following to achieve updating?
Because app1 depends on build_runner >=0.1.1 <=0.9.1 which requires SDK version >=1.9.1 <2.0.0-∞, |
Easiest will be to edit the pubsepc. Manually update the build runner to |
For reference, here is the commit where I bump versions |
thanks! so, updating pubspec.yaml with that, triggered a |
i tried with publishing to my android device as well as using the avd on my machine -- both gave the same result. |
Try deleting the app from the device/simulator. Also you can run |
thanks; i tried an uninstall and
i'll try it on the device as well now. |
the app is also not working on the device. |
Nope, I can't get it to work on the iPhone simulator. So I went back to the included example app to rule out my code. but I get this error when running the sample app on two different computers for IOS. The android version works just fine. Also other flutter apps build correctly on both machines with IOS. I see the same error codes on both the latest flutter beta that was released this week and dev master channel latest release.
This is the error I get from my code.
|
@Clancey you can download my source code at https://github.com/Jeremywhiteley/MedEasyAuth |
@matthewkooshad that error is nothing to do with my plugin |
@Jeremywhiteley I am able to run your sample just fine. want to try |
@Clancey try running it a second time. I am using Xcode 10. All this worked fine last week. And it's doing it on 2 different computers. |
Something is going on. I get the errors using your example and my code as well. Here is my configuration. Last week this all worked great. Also other apps work just fine. I think there is something going on with a dependency in your code in the simple auth. Jeremys-iMac:~ jeremywhiteley$ flutter doctor -v [✓] Android toolchain - develop for Android devices (Android SDK 28.0.2) [✓] iOS toolchain - develop for iOS devices (Xcode 10.0) [✓] Android Studio (version 3.1) [✓] IntelliJ IDEA Ultimate Edition (version 2018.2.2) [✓] VS Code (version 1.26.1) [✓] Connected devices (1 available) • No issues found! |
@Jeremywhiteley I am guessing the dev branch is not compatible with Xcode 10. I just upgraded and got the same error. Use |
@Clancey very odd. This all worked last week and it works with the other sample apps. I removed these dependancies and it still does it.
Also the dependancies that are being used are all the latest. I tried live coding it from a new project and this is where I got the error. IOS 12 comes out next month.
|
I think this is a flutter issue with Xcode 10/ iOS 12. That is implemented in the library. |
@Clancey I agree. Thank you! |
@Clancey I submitted this issue to the Flutter Dev team. flutter/flutter#21278. Feel free to add anything to it. Thank you again for your help yesterday! |
The current Dart SDK version is 2.1.0-dev.0.0.flutter-be6309690f.
Because every version of flutter_test from sdk depends on analyzer 0.32.4 and simple_auth_generator >=1.0.0 depends on analyzer ^0.31.2-alpha.2, flutter_test from sdk is incompatible with simple_auth_generator >=1.0.0.
And because simple_auth_generator <1.0.0 requires SDK version >=2.0.0-dev <2.0.0, flutter_test from sdk is incompatible with simple_auth_generator.
So, because app1 depends on both simple_auth_generator any and flutter_test any from sdk, version solving failed.
pub get failed (1)
The text was updated successfully, but these errors were encountered: