草庐IT

unrecognized

全部标签

ios - -[GKPlayerInternal setAuthenticateHandler :]: unrecognized selector sent to instance

使用此日志获取错误SIGABRT:“-[GKPlayerInternalsetAuthenticateHandler:]:无法识别的选择器发送到实例”我在iPad3iOS5.1.1上测试了这个GKLocalPlayer*localPlayer=[GKLocalPlayerlocalPlayer];localPlayer.authenticateHandler=^(UIViewController*viewController,NSError*error)//errorhere{/*somecode*/};在iOS6上这个工作正常 最佳答案

ios - 这个错误怎么可能 : Unrecognized Selected (screenFontWithRenderingMode) in iOS?

这个对我来说没有任何意义。我的应用因以下错误而崩溃:***Terminatingappduetouncaughtexception'NSInvalidArgumentException',reason:'-[__NSCFTypescreenFontWithRenderingMode:]:unrecognizedselectorsenttoinstance0x209bb200'这是一款iOS应用。据我所知,screenFontWithRenderingMode是MacOSX而不是iOS的NSFont方法。那么这个错误怎么会发生呢?我正在使用新发布的Xcode5构建该应用程序。该应用程序将

ios - -[UIView setAdUnitID1 :]: unrecognized selector sent to instance

我已经创建了一个UIViewlibLinOneSdk.a的静态库。所以当我使用它的属性或功能时,我会崩溃。但如果我使用LinDFPBanner.m一切正常,在Storyboard中我也将它卡在了nib中。我进行了搜索,但不知道为什么在静态库中会发生这种情况。问题可能出在库搜索路径。任何人都可以帮助我如何提供库搜索路径。self.linBannerView.adUnitID1=@"XXXX";self.linBannerView.rootViewController1=self;此外,应用程序在ipodtouch5和ipadmini中运行良好。在模拟器和iphone5s中崩溃。这可能是建

iOS - [Fabric firebaseMode] : unrecognized selector sent to instance

我尝试按照此处提供的手动说明集成Crashlytics3.9.0ManualSteps.我看到集成成功并且能够强制应用程序崩溃,但是,当应用程序下次启动时,我在结构中看到以下崩溃。堆栈跟踪如下:[Crashlytics]Version3.9.0(125)[Crashlytics:Crash:Reports]Packagedreportwithidforsubmission[Crashlytics:Crash:Reports]Submittingreport[Crashlytics:Crash:Reports]Submittingasync/var/mobile/Containers/D

ios - -[_UIFlowLayoutSection 中心] : unrecognized selector sent to instance

我该如何修复这个崩溃:-[_UIFlowLayoutSectioncenter]:unrecognizedselectorsenttoinstance.我在做:UICollectionViewFlowLayout*collectionLayout=[[UICollectionViewFlowLayoutalloc]init];collectionLayout.minimumInteritemSpacing=0.0;collectionLayout.minimumLineSpacing=0.0;collectionLayout.sectionInset=UIEdgeInsetsMake(

ios - -[__NSCFConstantString 大小] : unrecognized selector sent to instance . ..?

redSegmentedControl.mredSegmentedControl.h现在,我在另一个Controller中编写代码//self.segmentedControl=[[redSegmentedControlalloc]initWithFrame:CGRectMake(0,140,320,50)];self.segmentedControl=[[redSegmentedControlalloc]initWithSectionImages:@[@"list.png",@"list.png",@"list.png"]sectionSelectedImages:@[@"list.

ios - -[UITableViewController setManagedObjectContext :]: unrecognized selector sent to instance 0x7490da0'

我知道错误发生在这一行,因为应用程序在注释掉这一行的情况下工作正常:controller.managedObjectContext=self.managedObjectContext;错误是:Terminatingappduetouncaughtexception'NSInvalidArgumentException',reason:'-[UITableViewControllersetManagedObjectContext:]:unrecognizedselectorsenttoinstance0x7490da0'fibroMappAppDelegate.h////fibroMap

ios - [__NSCFString 字符值] : unrecognized selector sent to instance?

我的应用程序使用FMDB和Mantle,在iPhone5模拟器之后一切正常,但在iPhone5s之前崩溃,看起来BoolVariable是原因。但我不明白为什么在iPhone5s、6和6plus上一切正常。@property(nonatomic,assign)BOOLisMyFan;@property(nonatomic,assign)BOOLisMyFollow;@property(nonatomic,assign)NSIntegercityID;@property(nonatomic,assign)NSIntegerprovinceID;@property(nonatomic,as

hadoop - 如何修复 java.lang.IllegalArgumentException : Unrecognized Hadoop major version number: 3. 1.0?

我在查询中得到一个java.lang.IllegalArgumentException:UnrecognizedHadoopmajorversionnumber:3.1.0exception。这是查询:WITHt1as(select*frombrowserdatajoincitydataoncityid=id),t2as(selectuap.deviceasdevice,uap.osasos,uap.browserasbrowser,nameascitynamefromt1lateralviewParseUserAgentUDTF(UserAgent)uapasdevice,os,br

php - 如何在运行 PHPUnit 的 NetBeans 上修复 "unrecognized option --run"

我正在尝试将PHPUnit运行到NetBeans8.0.2中。如果我在我的文件夹测试中运行#phpunit,所有测试都会运行。所以它似乎是正确的。但在NetBeans输出中我总是得到:"C:\nginx\php\5.6.12\php.exe""C:\nginx\php\5.6.12\phpunit.phar""--colors""--log-junit""C:\Users\...\AppData\Local\Temp\nb-phpunit-log.xml""--bootstrap""E:\var\www\...\tests\TestHelper.php""--configuration