6 Replies
      Latest reply on May 8, 2019 11:42 AM by jmf
      s.borkin Level 1 Level 1 (10 points)

        Hey,

         

        I'm getting this error inside "MyClass" and I can't find any info about it:

        Cannot inherit from class 'MyOtherClass' because it has overridable members that could not be loaded.

         

        MyOtherClass is a swift class that has an import to GoogleAnalytics pod, to which I manually added a .modulemap which creates a module GoogleAnalyticsSwift.

         

        I found out that the error occurs only if I declare a method which has as one of the parameters something out of GoogleAnalyticsSwift.

         

        If I remove the type, everything works, I can even use GoogleAnalyticsSwift types in the func body and it works. If I remove the inehrit between the classes everything works too.

         

        Anyone knows the exact origin of the error?

        Thanks