apollo-ios: [v1.0.0 Alpha] 'Sendable' class 'JavaScriptError' cannot inherit from another class other than 'NSObject'

Bug report

I’m trying out the new alpha version for v1.0.0 using Xcode 13.3 beta. I encountered this error while trying to run the codegen using Swift Scripting.

Versions

Please fill in the versions you’re currently using:

  • apollo-ios SDK version: v1.0.0-alpha-1
  • Xcode version: 13.3 beta 1
  • Swift version: 5.6
  • Package manager: SPM

Steps to reproduce

Try to run a Swift Scripting setup of the Apollo codegen.

Screen Shot 2022-02-09 at 12 20 22

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 26 (9 by maintainers)

Most upvoted comments

@Jerrot - this is now fixed in main, it will go out in release 0.51.0 if you need a tagged release. @TizianoCoroneo - I’ve also merged main into release/1.0 so the alpha has the fix too.

@strahinja-mem Any updates on this issue?

Yes, all sorted, I just had to follow the changes. Thanks for your help.

Great, thanks @calvincestari and @TizianoCoroneo as well.

The issue already exists on v0.5.0 with Xcode 13.3 beta 1.