“_OBJC_CLASS_$_”, referenced from: error in xcode 4.3.2

后端 未结 2 1573
误落风尘
误落风尘 2021-01-31 02:54

So today I ran into a major problem. I got a problem involving my viewcontroller on xcode 4.3.2 as seen in this error message:

Undefined symbols for architecture         


        
相关标签:
2条回答
  • 2021-01-31 03:08

    For me the following method worked.

    In target -> Build Phases -> Compile Sources I had all .m files including those that were giving issue.

    Simply I removed those .m files which were giving issue.

    0 讨论(0)
  • 2021-01-31 03:29

    Finally found the answer. In your target settings, locate build phases and navigate to compile sources. Once there just ad the .m file that is getting the error to the list.

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