草庐IT

dashboard_messages

全部标签

ios - Xamarin - 构建绑定(bind)库 Messaging.g.cs 时出错

在为Xamarin.iOS构建绑定(bind)库时遇到问题。基本上我需要构建它以将dll引用到一个单独的项目中。这是我的例子project.问题是自动生成的Messaging.g.cs出现错误并在中线完成:////Auto-generatedfromgenerator.cs,donotedit////Wekeepreferencestoobjects,sowarning414isexpected#pragmawarningdisable414usingSystem;usingSystem.Drawing;usingSystem.Diagnostics;usingSystem.Compo

iOS 10 [CFString 发布] : message sent to deallocated instance

最近,我将我的iPhone升级到iOS10。我在iPhone上安装了我的应用程序后,我发现当我在我的应用程序中点击一个tableView时,它肯定会崩溃。我在方法cellForRowAtIndexPath中做了一些断点,并在Diagnostics表中选择了ZombieObjects。但是消息[CFStringrelease]:messagesenttodeallocatedinstance0x17063b960总是出现在Debug区。此问题仅出现在iOS10Beta上,我不确定是否是iOS10Beta引起的问题。有没有人像我一样遇到这个问题?我将不胜感激。更新:当它返回cell时,崩溃

ios - RCTBatchedBridge.m 错误 : Invalid data message - all must be length:%zd. React Native, iOS 模拟器

我正在使用react-native-oauth并在尝试授权时收到此错误(请参阅底部的红色图像)。我已经搜索并找到了这个similarunansweredquestion.我查看了源代码并找到了wheretheerrorisraised在第954行,似乎是因为moduleIDs.count应该等于methodIDs.count和paramsArrays.count:if(RCT_DEBUG&&(moduleIDs.count!=methodIDs.count||moduleIDs.count!=paramsArrays.count)){RCTLogError(@"Invaliddatam

ios - 使用未声明的类型 'FIRMessagingDelegate' 、 'Messaging' 和 'FIRMessagingRemoteMessage' 。

找了很久都没有解决我的问题。我正在关注推送通知的Firebase教程并实现了AppDelegate代码。但Xcode无法识别“FIRMessagingDelegate”、“Messaging”和“FIRMessagingRemoteMessage”。我尝试过更新repo、重新创建等。代码如下:importUIKitimportCoreDataimportFirebaseimportUserNotificationsimportFirebaseMessaging@UIApplicationMainclassAppDelegate:UIResponder,UIApplicationDele

ios - 关于 Object-C 中的类别 : Override existed message

类别是子类的替代。如果类别消息已经在类中实现,将会发生什么。以UIViewController为例,@implementationUIViewController(Landscape)//Overridetoalloworientationsotherthanthedefaultportraitorientation.-(BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation{//ReturnYESforsupportedorientations.return(in

ios - react-native登录后如何设置 'react-native-drawer'只对Dashboard可见

Inreact-native,IwanttodisabledraweronLoginandenabledraweronDashboardScreen.Ihaveimplemented'react-native-drawer'withNavigatortonavigatebetweenroutes.渲染方法如下:render(){this._drawer=ref}disabled={!this.state.drawerEnabled}type="overlay"content={{this._navigator.push(navigationHelper(route));this._dr

iOS WatchKit - 启动 watch 应用程序时出错 "SPErrorInvalidBundleNoGizmoBinaryMessage"

我正在尝试构建一个watchKit应用程序,它允许iPhone应用程序和Watch应用程序之间进行双向通信。我已经设置了应用程序组,并且设置并匹配了所有正确的应用程序证书、供应配置文件和授权。但是当我尝试运行Watch应用程序时,我不断收到此错误(仅运行iPhone应用程序时没有错误)。错误:ErrorLaunching'MyWatchAppWatchKitExtension'SPErrorInvalidBundleNoGizmoBinaryMessage我认为它与捆绑标识符有关,但据我所知一切看起来都是正确的。有什么建议吗?这是我的包标识符:AppGroupKey:group.com

ios - CloudKit Dashboard 权限不足

我无法通过https://icloud.developer.apple.com/dashboard/访问CloudKit仪表板。我不断收到错误消息Insufficientprivileges您的AppleID没有访问任何iCloud容器所需的权限。请联系您的团队管理员以获得必要的权限。即使我是唯一的团队成员,我也会收到此错误。关于如何解决这个问题的任何想法? 最佳答案 我在创建AppID和容器后收到“权限不足”错误,但我没有在XCode中选择容器。这非常具有误导性。我指定了容器并解决了问题。确保你——1.检查CloudKit2.检查

ios - Firebase Cloud Messaging 推送通知未发送到设备

Thisiswhatmyloglookslikewhenmypushnotificationgetscalledon我目前正在为iPhone的用户设置创建推送通知设置。我目前正在使用Firebase,所以我很自然地求助于FirebaseCloudMessaging来完成这项工作。这是我部署到Firebase的功能中的设置。我在这里做错了什么会导致通知没有发送到设备吗?我很感激任何帮助,如果有更多需要的信息,我很乐意提供。constfunctions=require('firebase-functions');constadmin=require('firebase-admin');ad

ios - UIViewController respondsToSelector : message sent ot deallocated instance

我是在阅读了一些类似的帖子后才在这里发帖的,但你知道每个问题仍然有其特定的问题,这就是为什么我仍然需要你的帮助。我的应用因此堆栈跟踪而崩溃:[ReviewVCrespondsToSelector:]:messagesenttodeallocatedinstance我在试图查看导致崩溃的相关代码的仪器上进行了跟踪:这里是didSelectRowAtIndexPath:委托(delegate)方法中ReviewVC的相关代码:self.reviewVC=[[[ReviewVCalloc]initWithNibName:@"Review"bundle:nil]autorelease];[vi