I have this problem of my app crashing (only when press a certain UIButton) after i upgraded my xcode to the latest 3.2.5 and iPhone simulator 4.2. It works fine in my friend laptop, who hasn't upgraded yet. I googled for answers, but most of them faces problem only crashing in simulator but not device. Mine crashes for both.
Anyone has any idea about 开发者_如何学JAVAthis issue? I cant seem to find any solution.
UPDATE: Got this error only when run application on device.
warning: Unable to read symbols for /Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.2.1 (8C148a)/Symbols/usr/lib/info/dns.so (file not found). Program received signal: “EXC_BAD_ACCESS”. warning: Unable to read symbols for /Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.2.1 (8C148a)/Symbols/Developer/usr/lib/libXcodeDebuggerSupport.dylib (file not found). (gdb)
Delete the app from your device, run a "Clean" in Xcode, and then try again. Sometimes things just get messed up.
Double-check your project settings; more specifically, those that set directories. Also, make sure the appropriate files are in their respective build phases.
Solved this! Due to some duplicate codings. Thanks everyone for your help!
精彩评论