只是尝试将mobFox实施到我的应用程序中,但无法让它运行。我怀疑这是因为我的一般方法根本不使用IB,因为示例代码工作得很好。
运行后,它指向
行int retVal = UIApplicationMain(argc, argv, nil, @"UntitledAppDelegate");
在我的main.m中,
以此为结果
2011-04-18 16:07:48.000 BinTeeth[10141:bf07] -[NSCFString md5]: unrecognized selector sent to instance 0x622ef40 2011-04-18 16:07:48.001 BinTeeth[10141:bf07] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSCFString md5]: unrecognized selector sent to instance 0x622ef40' *** Call stack at first throw: ( 0 CoreFoundation 0x014845a9 __exceptionPreprocess + 185 1 libobjc.A.dylib 0x015d8313 objc_exception_throw + 44 2 CoreFoundation 0x014860bb -[NSObject(NSObject) doesNotRecognizeSelector:] + 187 3 CoreFoundation 0x013f5966 ___forwarding___ + 966 4 CoreFoundation 0x013f5522 _CF_forwarding_prep_0 + 50 5 BinTeeth 0x0002d90f -[MobFoxBannerView asyncRequestAdWithPublisherId:] + 177 6 Foundation 0x00670cf4 -[NSThread main] + 81 7 Foundation 0x00670c80 __NSThread__main__ + 1387 8 libSystem.B.dylib 0x9758c85d _pthread_start + 345 9 libSystem.B.dylib 0x9758c6e2 thread_start + 34 ) terminate called after throwing an instance of 'NSException'
任何帮助都会受到赞赏,我已经尝试了很多东西,但到目前为止我找不到真正的解决方案
TNX
答案 0 :(得分:3)
您是否按照SDK文档中的描述设置了链接器标志?
最佳