0

My project was working fine till yesterday but today I am getting 22 errors and all are saying that "Attempting to use the forward class UIViewController as superclass of (UIActivityController/UIAlertController/etc)". I don't understand what is the issue here. Can anyone suggest solution. I am using Xcode 9.2

enter image description here

M Swapnil
  • 2,361
  • 3
  • 18
  • 33
  • can you post any of your code? – Christian Abella Jun 26 '18 at 06:34
  • Yes I can,, but I dont know which code will be useful – M Swapnil Jun 26 '18 at 06:37
  • 1
    Take a look at this question https://stackoverflow.com/questions/11819764/attempting-to-use-the-forward-class-game-as-superclass-of-mathgame-in-coco Take a look at diff of what changed since yesterday (assuming that yesterday everything worked well). Did you change any imports? – Anton Filimonov Jun 26 '18 at 06:45

1 Answers1

0

I found solution.. actually it seems it was an error of xcode. I have installed Xcode 9.4 and the issues disappeared with single line of code. Strange but worked for me.

M Swapnil
  • 2,361
  • 3
  • 18
  • 33