dart-lang / core

This repository is home to core Dart packages.
https://pub.dev/publishers/dart.dev
BSD 3-Clause "New" or "Revised" License
13 stars 4 forks source link

Swift 5.4 incompatibility with XCode 12.5 #233

Closed matthias-94 closed 3 years ago

matthias-94 commented 3 years ago

I upgraded my XCode to version 12.5 and now it throws the following errors whenever I try to archive a project which uses the "crypto" package:

grafik

According to this StackOverflow-thread, the problem's caused by CryptoSwift: https://stackoverflow.com/questions/67310729/exported-true-has-no-effect-in-specialize-attribute-in-xcode-12-5?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+stackoverflow%2FtGpU+%28Stack+Overflow%29

After downgrading to XCode 12.4, I was able to build/archive the project again.

natebosch commented 3 years ago

This package has no dependency or relationship to CryptoSwift. Maybe something in the flutter project does? Or maybe you have another dependency which is using CryptoSwift? This quest mentions a couple possibilities: https://stackoverflow.com/questions/67382736/flutter-problem-when-update-xcode-12-5-and-ios-14-5

Unfortunately I don't have any background knowledge to help you with this and it's not actionable in this repository.

You might be able to get more help from stack overflow, or possibly the flutter discord?