|
|||||||
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
|
#1 |
|
Where to find error for [__NSDictionaryM urlEncodedString]
When I run my app, I got error as below, how and where can I find the reason for this error? please give some suggestion.
Code:
-[__NSDictionaryM urlEncodedString]: unrecognized selector sent to instance 0x9aa43d0 *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSDictionaryM urlEncodedString]: unrecognized selector sent to instance 0x9aa43d0' *** First throw call stack:
__________________
iPad Mini 32GB, iPhone 4S 16GB, iPad1 32GB, Mac mini 2.53GHz 4GB 320GB, ThinkPad T60 MyApp: Market Event v1.9.2 |
|
|
|
0
|
|
|
#2 |
|
Look for someplace where you're trying to use a method called urlEncodedString. My guess is you want to call it for an object in a dictionary or array that you think responds to it but it's actually a dictionary.
Don't you have a call stack you can look at to find the methods you called? |
|
|
|
0
|
|
|
#3 | |
|
Quote:
add an Exception breakpoint.
__________________
iPad Mini 32GB, iPhone 4S 16GB, iPad1 32GB, Mac mini 2.53GHz 4GB 320GB, ThinkPad T60 MyApp: Market Event v1.9.2 |
||
|
|
0
|
|
|
#4 | |
|
Quote:
Once you've done that, right-click on the breakpoint in the breakpoints list and select copy to>user. That makes the breakpoint get added to all your projects. As far as your error, messages that are sent to objects that they shouldn't is usually as sign of an over-release bug (a.k.a. "zombies".) Learn how to use the zombies instrument in instruments to find such bugs. Alternately you can enable zombies in your debug scheme. Check out this article titled Running Your Application with Diagnostics You might also try selecting analyze from the product menu to do static analysis on your code. That often finds memory management problems like over-releases and leaks.
__________________
Regards, Duncan Champney, WareTo. Check out our latest app, Face Dancer, available for free on the App Store. |
||
|
|
0
|
|
|
#5 | |
|
Quote:
This exception is happened in a library .a file, so I am not sure how to solve it, do you have any idea?
__________________
iPad Mini 32GB, iPhone 4S 16GB, iPad1 32GB, Mac mini 2.53GHz 4GB 320GB, ThinkPad T60 MyApp: Market Event v1.9.2 |
||
|
|
0
|
|
|
#6 | |
|
Quote:
Run analyze and zombies on your app as I suggested.
__________________
Regards, Duncan Champney, WareTo. Check out our latest app, Face Dancer, available for free on the App Store. |
||
|
|
0
|
|
|
#7 | |
|
Quote:
Code:
To use the SDK in your app, the -ObjC value needs to be added to the "Other Linker Flags" setting in your Xcode project. See this article for more details: Apple Technical Q&A QA1490"
__________________
iPad Mini 32GB, iPhone 4S 16GB, iPad1 32GB, Mac mini 2.53GHz 4GB 320GB, ThinkPad T60 MyApp: Market Event v1.9.2 |
||
|
|
0
|
![]() |
|
«
Previous Thread
|
Next Thread
»
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
All times are GMT -5. The time now is 03:26 PM.








Linear Mode
