草庐IT

Unrecognized

全部标签

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

java - "Unrecognized token ' com ': was expecting (' 真 ', ' 假 ' or ' 空 ')"

我已经把这个json转成字符串保存在本地数据库{"type":"file","id":"b665ff0b-5f7b-4991-ae88-ac5054880223","link":{"href":"https://s3-eu-west-com/87e9edff-e7bd-49ea-aa7a-8948cac29bc1/b665ff0b-5f7b-4991-ae88-ac5054880223.jpg"},"file_name":"sony431.jpg","mime_type":"image/jpeg","file_size":66727,"public":true,"meta":{"dim

ios - -[__NSCFDictionary objectAtIndexedSubscript :]: unrecognized selector sent to instance

我使用一个教程将我的Twitter主页包含在我的代码中,但对我来说不起作用。这是代码@implementationVSViewController-(void)viewDidLoad{[superviewDidLoad];[selftwitterTimeline];}-(void)didReceiveMemoryWarning{[superdidReceiveMemoryWarning];//Disposeofanyresourcesthatcanberecreated.}-(void)twitterTimeline{ACAccountStore*account=[[ACAccount