Whenever I try to compile my Xcode project I get error cannot find protocol declaration for UIScrollViewDelegate
I have cleaned my project multiple times but nothing seems to solve the issue.
Also I have an error could not build module UIKit
I am unable to fix the issue for long as my project does not build.
Try following may be it will help:
Removing and adding
UIKit.framework
inBuild Phases -> Link Binary With Libraries
.Check that you have not typed anything or modified anything in
UIKit.framework
header files.May be in
UIKit.framework
-->Headers
-->UIScrollView.h
in your case.