我使用OpenFeintX爲iPhone工作,我只是按照幾個步驟使OFX示例應用程序工作,並且它不起作用。啓動OFX示例應用程序崩潰
我複製了示例文件夾以創建另一個文件夾,然後我複製了OpenFeint文件夾並將它放在正確的部分,並添加了從項目中的儀表板下載的配置文件。
當我運行它,這裏是我得到:
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo} span.Apple-tab-span {white-space:pre}
2011-05-19 15:02:20.416 OpenFeintX[3182:207] *** __NSAutoreleaseNoPool(): Object 0x7718090 of class NSCFString autoreleased with no pool in place - just leaking
2011-05-19 15:02:20.418 OpenFeintX[3182:207] +[OpenFeint registerAddOn:]: unrecognized selector sent to class 0x22ad14
2011-05-19 15:02:20.419 OpenFeintX[3182:207] *** __NSAutoreleaseNoPool(): Object 0x7718f30 of class NSCFString autoreleased with no pool in place - just leaking
2011-05-19 15:02:20.419 OpenFeintX[3182:207] *** __NSAutoreleaseNoPool(): Object 0x7718ff0 of class NSException autoreleased with no pool in place - just leaking
2011-05-19 15:02:20.421 OpenFeintX[3182:207] *** __NSAutoreleaseNoPool(): Object 0x771ab80 of class _NSCallStackArray autoreleased with no pool in place - just leaking
2011-05-19 15:02:20.422 OpenFeintX[3182:207] *** __NSAutoreleaseNoPool(): Object 0x771aab0 of class _NSCallStackArray autoreleased with no pool in place - just leaking
2011-05-19 15:02:20.422 OpenFeintX[3182:207] *** __NSAutoreleaseNoPool(): Object 0x771ac10 of class NSCFString autoreleased with no pool in place - just leaking
2011-05-19 15:02:20.423 OpenFeintX[3182:207] *** __NSAutoreleaseNoPool(): Object 0x7835000 of class NSCFString autoreleased with no pool in place - just leaking
2011-05-19 15:02:20.424 OpenFeintX[3182:207] *** __NSAutoreleaseNoPool(): Object 0x771aca0 of class NSConcreteMutableData autoreleased with no pool in place - just leaking
2011-05-19 15:02:20.522 OpenFeintX[3182:207] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '+[OpenFeint registerAddOn:]: unrecognized selector sent to class 0x22ad14'
*** Call stack at first throw:
(
0 CoreFoundation 0x02f9b919 __exceptionPreprocess + 185
1 libobjc.A.dylib 0x030e95de objc_exception_throw + 47
2 CoreFoundation 0x02f9d4eb +[NSObject(NSObject) doesNotRecognizeSelector:] + 187
3 CoreFoundation 0x02f0d116 ___forwarding___ + 966
4 CoreFoundation 0x02f0ccd2 _CF_forwarding_prep_0 + 50
5 OpenFeintX 0x0001751d +[OFXStoreManager load] + 50
6 libobjc.A.dylib 0x030ea9f3 call_load_methods + 187
7 libobjc.A.dylib 0x030ed5df load_images + 85
8 ??? 0x8fe036c8 0x0 + 2413835976
9 ??? 0x8fe0d30a 0x0 + 2413875978
10 ??? 0x8fe0d3d1 0x0 + 2413876177
11 ??? 0x8fe024a9 0x0 + 2413831337
12 ??? 0x8fe07950 0x0 + 2413853008
13 ??? 0x8fe018b1 0x0 + 2413828273
14 ??? 0x8fe01057 0x0 + 2413826135
)
terminate called after throwing an instance of 'NSException'
,它甚至沒有在主輸入...
會有人有線索?
我在這裏可以把代碼,但問題是我剛剛推出了基本的OFX示例應用程序,我認爲這是針對其他所有人的工作,因爲我沒有在網絡上找到我的問題的答案......我沒有寫任何代碼,我只是從它下載Open Feint網站做了必要的修改並嘗試啓動它...... 由於OpenFeint作爲框架工作,並且大多數.m文件都包含在框架中,所以很難調試。 – Grhyll 2011-05-20 14:06:55