-
Notifications
You must be signed in to change notification settings - Fork 158
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
[sign_in_with_apple] [iOS15] Build error: @available #213
Comments
@abegehr, thanks for the report. I can see the same report about this bug in this apple thread. As it's currently still very early in the iOS and XCode betas, we would wait and see if this is just an initial bug in the first betas or is something we actually need to change before iOS 15 is officially released. |
Seems like a Swift 5.5 error. |
I have created a workaround in #221 for this problem by splitting the enum into 2 parts, and annotate the whole enum instead of a single item.
Keep in mind that this probably isn't a bug, but a new "feature".
Please see the pull-request that introduced this behavior: |
This is still present in the XCode 13 RC, so any builds with the RC will currently fail. |
iOS 15 and XCode 13 is released. Any update guys? I saw a PR #221 but not reviewed yet. |
This makes it impossible to build with Xcode13. |
I will have a look today |
Same error under Xcode 13.0, Flutter 2.5 |
Agree, no way to build after upgrading to xcode 13 |
The same problem here. |
As said previously, we will look into this with high priority. For now, I will lock the thread and we will give an update once we have released a fix. Either please downgrade to a 12.x version of XCode for now or use the branch from the open PR (on your own risk): sign_in_with_apple:
git:
url: git://github.com/aboutyou/dart_packages.git
ref: 3d2633761b8cdb04d2816a5f079be765bdcb7603
path: packages/sign_in_with_apple |
Ah, the branch was force pushed, so the commit isn't there anymore; here is the new commit: sign_in_with_apple:
git:
url: git://github.com/aboutyou/dart_packages.git
ref: f38e0503e19d90daa2c2d69d444b38c4974a8fe5
path: packages/sign_in_with_apple |
The fix looks good and we will release the new version tomorrow morning. |
I just released version 3.1.0 with XCode 13 Support |
If anyone not yet on null-safety, you can use this one:
|
I'm getting a build error when trying to run a flutter app on iOS 15 developer beta from Xcode 13.0.
The error is as follows as shows a few times:
Flutter doctor:
Full flutter build log:
The text was updated successfully, but these errors were encountered: