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
iOS Amplify Configuration Crash On Startup #539
Comments
Looks like a change to the underlying iOS SDK in 2.23.4 breaks AmplifyAWSServiceConfiguration |
attempting to reproduce this from an iOS app using AWSAuthCognitoAuthPugin,
|
PR that should fix the problem aws-amplify/amplify-swift#1182 |
is there a workaround for now? On iOS, we updated the SDK dependency to 2.23.0 and released 1.6.1. So any version from 1.6.1 and up will pull in SDK 2.23.4 and break the app How does flutter decide which Amplify iOS version to use? |
Thanks @lawmicha for the PR. Currently Amplify Flutter uses the latest version of Amplify iOS which is I assume Amplify iOS customers are also impacted by this issue. What workaround would you recommend until a new version with the fix can be released? |
Yes I think that’s correct, Podfile.lock could be manually modified to pin it to 2.23.3. From an iOS app using a Podfile, a developer will also see this issue and could pin it this way
|
@lawmicha I was unable to get the podfile workaround to work; however, I was able to resolve the problem by replacing instances of |
Thanks for verifying @haverchuck. After checking with the Amplify iOS team, its not recommended to modify the generated |
SDK 2.23.5 is in progress of being released, which should fix the issue, I see a few have been pushed to cocoapods already, please upgrade any dependency on the SDK to 2.23.5. I’ll be doing verification myself but if anyone is blocked on this and have time to try it out, please upgrade to 2.23.5 and let us know if it is fixed for you |
I've verified that this issue is no longer a problem with the latest 2.23.5 release. Please let us know if you see any issues. |
Worked for me after running |
Thanks @lawmicha for releasing this on priority and @haverchuck for verifying the fix. @bwhiteTP @rmargolinross could you run a |
I had same crash before running pod update. After running it, the crash stopped. Thank you! |
Thanks for confirming @brunovsiqueira. Closing the issue as its resolved and verified. |
Im seeing this same crash with 2.26.6, just started happening last week `PODS:
|
not experiencing this when i manually lock these files in podlock
|
Describe the bug
Our release build is suddenly crashing on startup on iOS. We've narrowed it down to an issue with amplify configuration. It was working fine until one build it suddenly wasn't working and we haven't made any configuration or amplify changes. Here is the crash log:
Platform
Amplify Flutter current supports iOS and Android. This issue is reproducible in (check all that apply):
[] Android
[X] iOS
Output of
flutter doctor -v
The text was updated successfully, but these errors were encountered: