gpt4 book ai didi

xamarin - IOS 应用程序崩溃,甚至没有输入我的代码

转载 作者:行者123 更新时间:2023-12-02 06:25:33 24 4
gpt4 key购买 nike

最近我的应用程序在没有输入代码的情况下开始崩溃,不确定发生了什么我从 IOS 设备日志中获得了以下 c 信息,但我无法理解这一点。请有人帮助我找到应用程序崩溃的根本原因。当我安装临时版本时会发生这种情况。但如果我从调试安装应用程序,它工作正常。请帮助我

Sep  3 17:14:21 NarayananugrahamFeb-17-2013 com.apple.xpc.launchd[1] 

<Error>: assertion failed: 13G36: launchd + 85529 [083E000D-4C31-3B98-A2C4-6FADB4D1940F]: 0x3
Sep 3 17:14:21 NarayananugrahamFeb-17-2013 SthotraaniiOS[631] <Warning>: Found new TLS offset at 176
Sep 3 17:14:22 NarayananugrahamFeb-17-2013 SthotraaniiOS[631] <Warning>: The app delegate must implement the window property if it wants to use a main storyboard file.
Sep 3 17:14:22 NarayananugrahamFeb-17-2013 SthotraaniiOS[631] <Error>: nw_endpoint_create_address Changing endpoint address length from 28 to 16, too long for family AF_INET
Sep 3 17:14:22 NarayananugrahamFeb-17-2013 SthotraaniiOS[631] <Error>: nw_endpoint_create_address Fixing endpoint address with non-zero sin_zero field
Sep 3 17:14:23 NarayananugrahamFeb-17-2013 SpringBoard[169] <Warning>: BSXPCMessage received error for message: Connection invalid
Sep 3 17:14:23 NarayananugrahamFeb-17-2013 SpringBoard[169] <Warning>: Unable to get short BSD proc info for 631: No such process
Sep 3 17:14:23 NarayananugrahamFeb-17-2013 SpringBoard[169] <Warning>: Unable to get short BSD proc info for 631: No such process
Sep 3 17:14:23 NarayananugrahamFeb-17-2013 SpringBoard[169] <Warning>: HW kbd: Failed to set (null) as keyboard focus
Sep 3 17:14:23 NarayananugrahamFeb-17-2013 SpringBoard[169] <Warning>: UNNotificationRegistrarConnectionListener connection invalidated
Sep 3 17:14:23 NarayananugrahamFeb-17-2013 symptomsd[107] <Error>: __51-[FlowAnalyticsEngine _applicationStateMonitorInit]_block_invoke Attempt to add an app with insufficient id, info {
BKSApplicationStateAppIsFrontmost = 1;
BKSApplicationStateExtensionKey = 0;
SBApplicationStateDisplayIDKey = "com.chirravuris.sthotraani";
SBApplicationStateKey = 8;
SBApplicationStateProcessIDKey = 631;
SBMostElevatedStateForProcessID = 8;
}
Sep 3 17:14:23 NarayananugrahamFeb-17-2013 SpringBoard[169] <Warning>: Application 'UIKitApplication:com.chirravuris.sthotraani[0xf3c8]' exited voluntarily.
Sep 3 17:14:23 NarayananugrahamFeb-17-2013 UserEventAgent[23] <Warning>: 572794164572: id=com.chirravuris.sthotraani pid=631, state=0

最佳答案

: The app delegate must implement the window property if it wants to use a main storyboard file.

这表明您的 AppDelegate 的 Windows 出现问题。您可以重新检查您的 AppDelegate,无论它是否有 Windows 对象。

见下文

public class AppDelegate : UIApplicationDelegate
{
public override UIWindow Window
{
get;
set;
}

public override bool FinishedLaunching(UIApplication app, NSDictionary options)
{
// create a new window instance based on the screen size
window = new UIWindow(UIScreen.MainScreen.Bounds);

// make the window visible
window.MakeKeyAndVisible();

return true;
}
}

谢谢。

关于xamarin - IOS 应用程序崩溃,甚至没有输入我的代码,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39306638/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com