【问题标题】:Unable to launch application after updating to latest version of Visual Studio and Xamarin更新到最新版本的 Visual Studio 和 Xamarin 后无法启动应用程序
【发布时间】:2018-12-18 14:47:45
【问题描述】:

我目前正在开发一个 Xamarin Forms 应用程序。在我将 Visual Studio for Mac 和 Xamarin 更新为以下内容之前,该应用程序一直运行成功:

Apple 开发者工具 - Xcode 10.1 Xamarin.Mac - 版本:5.2.1.12 Xamarin.iOS - 版本:12.2.1.12

现在用户无法在其 iOS 设备上打开该应用程序。安装后,当他们单击应用程序图标时,应用程序启动,然后立即关闭。

我查看了日志,发现如下错误:

error 09:40:36.951392 -0500 assertiond Failed to start job with error  <NSError: 0x7f97f2801640; domain: NSPOSIXErrorDomain; code: 3; reason: "No such process">  
{ description = "Unable to get pid for label UIKitApplication:com.myapplication[0xca85][1468]";     
    failureReason = "No such process";     
    userInfo = 
{         
        BKLaunchdJobLabel = UIKitApplication:com.myapplication[0xca85][1468];         
        BKLaunchdOperation = launch_get_running_pid_4SB;     
    } 
}

我已检查所有证书(Apple 全球开发者关系证书颁发机构、开发者 ID 证书颁发机构、iPhone 开发人员和 iOS 分发)都使用系统默认值。

还有其他人遇到过这个问题吗?如果是这样,您是如何解决的?

谢谢

【问题讨论】:

  • 您是如何分发您的应用程序的,在App-Store 或使用Enterprise Certification?您能检查一下您的Distribution Certification 是否已过期?这可能是由于您的Certification 已过期。
  • 最后是证书。我删除了所有内容并从 App Store 重新添加它们,现在一切正常。谢谢你的评论:)

标签: ios xamarin xamarin.forms xamarin.ios


【解决方案1】:

最后,问题出在我的证书上。我从 Keychain Access 中将它们全部删除,然后从 App Store 重新安装。现在应用程序按应有的方式打开。

【讨论】:

    猜你喜欢
    • 2016-03-21
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-07-14
    • 1970-01-01
    • 1970-01-01
    • 2022-01-22
    • 1970-01-01
    相关资源
    最近更新 更多