Closed abegehr closed 3 years ago
@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. https://bugs.swift.org/browse/SR-14539
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.
Seems like a Swift 5.5 error. https://bugs.swift.org/browse/SR-14539
Keep in mind that this probably isn't a bug, but a new "feature".
This is intentional. The ABI of enum cases with payloads that are potentially unavailable is not well-defined. That this worked in the past was by coincidence of your application not requiring the (potentially unavailable) type metadata for the payload. Please either increase your deployment target or mark Foo itself as available as the least-available case. (Source)
Please see the pull-request that introduced this behavior: https://github.com/apple/swift/pull/36327
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.
If anyone not yet on null-safety, you can use this one:
sign_in_with_apple:
git:
url: https://github.com/risdeit/dart_packages.git
path: packages/sign_in_with_apple
ref: 4d39321
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: