You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When compiling and trying to publish against latest version of Apollo, the compiler (Xcode 14.1) raises the following issue
Apollo/Sources/Apollo/ApolloStore.swift:208:22: error: reference to property 'cache' in closure requires explicit use of 'self' to make capture semantics explicit
Implicit self capture in closure is a recent feature, not supported by all version of Xcode. Having implicit capture in you closure is a breaking change.
I added a comment on the incriminating commit here to help you locate the error-> 7d0c7e9#r146660778
Version
1.15.0
Steps to reproduce the behavior
Compile with Xcode 14.1
Logs
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered:
Thanks for the heads up on this one. We'll get this fixed. @calvincestari We stopped running our CI tests on Xcode 14.1 recently due to some limitation there, right?
Hi @Kireyin - how/where are you distributing the apps built with Xcode 14.1?
The current minimum Xcode version required to submit to the App Store is Xcode 15. I don't recall the specific behaviour of self capture in the version of Swift that ships with Xcode 15 but I think it's reasonable for us to support only the minimum version required for App Store submission.
@AnthonyMDev, I think our issues re. CI was for iOS versions which are no longer available. I'll have to check exactly what versions of Xcode we have available to us on CI, there might be some macOS issues there too though.
We only distribute SDKs and our CI was set up with Xcode 14.1 following Apple's communication about the minimum support last year (https://developer.apple.com/news/?id=jd9wcyov). It seems that we missed the April announcement about Xcode 15.
Do you have any feedback for the maintainers? Please tell us by taking a one-minute survey. Your responses will help us understand Apollo iOS usage and allow us to serve you better.
Summary
When compiling and trying to publish against latest version of Apollo, the compiler (Xcode 14.1) raises the following issue
Apollo/Sources/Apollo/ApolloStore.swift:208:22: error: reference to property 'cache' in closure requires explicit use of 'self' to make capture semantics explicit
Implicit
self
capture in closure is a recent feature, not supported by all version of Xcode. Having implicit capture in you closure is a breaking change.I added a comment on the incriminating commit here to help you locate the error-> 7d0c7e9#r146660778
Version
1.15.0
Steps to reproduce the behavior
Compile with Xcode 14.1
Logs
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: