iphoneiphone-sdk-3.0

GDB error invalid offset, value too big (0x00000400) Unable to build app in debug mode need help


I have an app which was working fine few days ago. But today I'm getting this error:

{standard input}:1948:invalid offset, value too big (0x00000400) Command /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2 failed with exit >code 1


Solution

  • Ok Guys, After a lot of troubleshooting finally I found the solution. A big Switch Case was the problem. Converting that into if else statement solved the problem.