Question
Hi Apollo Team,
I’m working on upgrading apollo-ios-xcframework from v1.18.0 to v2.0.2 in our project, which uses Bazel to fetch and build the framework. During the process, I’m encountering several errors related to the use of @_spi, for example:
error: protocol requirement 'init(_dataDict:)' cannot be declared '@_spi' without a default implementation in a protocol extension
I noticed that swiftLanguageMode in your Package.swift now includes both Swift 5 and 6. Our project is still using Swift 5, and I wanted to check whether this might be the reason for the errors, or if there’s a recommended Swift version for Apollo xcframework v2.x.
Any guidance on required Swift version compatibility or how to resolve these errors would be greatly appreciated.
Thank you!
Question
Hi Apollo Team,
I’m working on upgrading
apollo-ios-xcframeworkfrom v1.18.0 to v2.0.2 in our project, which uses Bazel to fetch and build the framework. During the process, I’m encountering several errors related to the use of @_spi, for example:error: protocol requirement 'init(_dataDict:)' cannot be declared '@_spi' without a default implementation in a protocol extensionI noticed that swiftLanguageMode in your Package.swift now includes both Swift 5 and 6. Our project is still using Swift 5, and I wanted to check whether this might be the reason for the errors, or if there’s a recommended Swift version for Apollo xcframework v2.x.
Any guidance on required Swift version compatibility or how to resolve these errors would be greatly appreciated.
Thank you!