When running hessiankit 1.0.3 in the iphone-simulator 3.1, the app crashes
due to an doesNotRecognizeSelector exception.
I've tracked down the cause to the (Private) interface declarations. Seems
like the iphone sdk is unhappy with the fact that the interface is split to
two files, and behaves like the private methods don't exist at all.
I tried moving both the @interface and @implementation for
CWDistantHessianObject and CWHessianArchiver and CWHessianUnarchiver to the
respective .m files, and then the problem disappeared.
This problems only occurs with the iphone sdk, when building for osx
eveything is fine.
Oh and btw, there seems to be a bug in CWHessianArchiver:classForClassName
- that method is using _protocolTranslation instead of
_classnameTranslation (thats not used anywhere at all).
Fredrik Olsson
Documentation
v1.0.3
Public
|
Date: 2009-08-10 06:38 The problem is that the linker will remove aggressively unused methods. |
| Field | Old Value | Date | By |
|---|---|---|---|
| resolution_id | None | 2009-08-10 06:38 | peylow |
| category_id | None | 2009-08-10 06:38 | peylow |
| artifact_group_id | None | 2009-08-10 06:38 | peylow |
| assigned_to | nobody | 2009-08-10 06:38 | peylow |
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use