Thousand of errors in base classes like NSObject.h,NSObjCRuntime.h

前端 未结 3 462
一个人的身影
一个人的身影 2021-02-07 08:21

I don\'t know why its happening .... I an integrating a twitpic api and its working fine all the projects except one. I am getting 5488 errors and that too in classes like NSObj

相关标签:
3条回答
  • 2021-02-07 08:49

    Usually these errors are caused by a problem in the .pch file, like an #import that doesn't belong, or something similar.

    0 讨论(0)
  • 2021-02-07 09:07

    compile the files as objc, not c

    0 讨论(0)
  • 2021-02-07 09:08

    I got this error several times. This could happen because of superfluous curly bracket. Like

    - (void)a {
    }
    }
    

    Check latest changes in a project.

    0 讨论(0)
提交回复
热议问题