0

I am using a app of previous developer ,but when i compile it ,ig shows 5 errors at UIResponder.h and UIEvent.h

error 1:

file/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:38:0 /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:38: error: expected ':' before ';' token

error2:

/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder.h:15:0 /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder.h:15: error: expected ')' before 'UIResponder'

error 3:

/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder.h:17:0 /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder.h:17: error: expected '{' before '-' token

error4:

/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder.h:42:0 /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder.h:42: warning: '@end' must appear in an @implementation context

error5:

/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder.h:58:0 /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder.h:58: error: cannot find interface declaration for 'UIResponder'

halfer
  • 19,824
  • 17
  • 99
  • 186
Ali
  • 10,774
  • 10
  • 56
  • 83

3 Answers3

1

Try by removing all the linked frameworks and link from your library.

KingofBliss
  • 15,055
  • 6
  • 50
  • 72
1

Once check in which version of iPhone OS you are installing your App. Once check the targets and change the base sdk and deployment sdk as required.

halfer
  • 19,824
  • 17
  • 99
  • 186
Satya
  • 3,320
  • 1
  • 20
  • 19
0

Remove all the frameworks used in the application. Add back all the frameworks and do a clean build of the application. This might help.

Swapna
  • 2,245
  • 2
  • 19
  • 22
  • Yes,I removed all frameworks and added then I also,clean .bit same errors are accuring please help – Ali Dec 28 '10 at 12:37