As szymczyk says, it’s hard to offer a good answer without more info about your code. However, there are some things common to all such issues. This is a compile-time error, not a runtime error, so the fact that your previous code is still running in TestFlight isn’t a surprise. At some fundamental level all instances of this problem could be considered a compiler bug (or maybe an opportunity for an improvement in the compiler :-). That’s especially true here, where things have regressed from a previous version of the compiler. If you’re able to distill this down into a small test project that compiles with Xcode 15.2 but fails in this way with Xcode 15.3, it’d be great if you could file a bug with that project. As to what you can do about it, the advice in the error message is sound. This problem is triggered by code that relies on extensive type inferencing. The compiler has to search a large space of possible type combinations that might allow the code
Topic:
Programming Languages
SubTopic:
Swift
Tags: