gpt4 book ai didi

c# - 该应用程序已在 Debug模式下终止

转载 作者:太空狗 更新时间:2023-10-29 21:59:55 28 4
gpt4 key购买 nike

当我尝试在 iOS 的 Debug模式下运行我的 xamarin 项目时,它显示消息“应用程序已终止”。我在 Windows 上使用 visual studio 2017 进行调试,我使用 MacinCloud for Mac。我在我的 Visual Studio 中为了调试而做错了什么设置。下面我将进入 Visual Studio 中的输出窗口。

 Loaded assembly: /Users/user135744/Library/Developer/CoreSimulator/Devices/4CAF0EF4-6D74-4DFE-868D-77521B5F3ECC/data/Containers/Bundle/Application/504D0970-FEE2-496C-B5B5-CEADBFA35891/ATSDriver.iOS.app/.monotouch-64/Xamarin.iOS.dll [External]
Resolved pending breakpoint for 'UIKit.UIApplication.Main(string[], string, string)' to /Users/builder/data/lanes/5665/db807ec9/source/xamarin-macios/src/UIKit/UIApplication.cs:61 [0x00000].
Resolved pending breakpoint for 'UIKit.UIApplication.Main(string[], System.Type, System.Type)' to /Users/builder/data/lanes/5665/db807ec9/source/xamarin-macios/src/UIKit/UIApplication.cs:68 [0x00000].
Resolved pending breakpoint for 'UIKit.UIApplication.Main(string[])' to /Users/builder/data/lanes/5665/db807ec9/source/xamarin-macios/src/UIKit/UIApplication.cs:73 [0x00000].
Resolved pending breakpoint for 'UIKit.UIApplication.Main(string[], System.IntPtr, System.IntPtr)' to /Users/builder/data/lanes/5665/db807ec9/source/xamarin-macios/src/UIKit/UIApplication.cs:78 [0x00000].
Loaded assembly: /Users/user135744/Library/Developer/CoreSimulator/Devices/4CAF0EF4-6D74-4DFE-868D-77521B5F3ECC/data/Containers/Bundle/Application/504D0970-FEE2-496C-B5B5-CEADBFA35891/ATSDriver.iOS.app/.monotouch-64/System.dll [External]
Thread started: #2
Loaded assembly: /Users/user135744/Library/Developer/CoreSimulator/Devices/4CAF0EF4-6D74-4DFE-868D-77521B5F3ECC/data/Containers/Bundle/Application/504D0970-FEE2-496C-B5B5-CEADBFA35891/ATSDriver.iOS.app/.monotouch-64/ATSDriver.iOS.exe
Loaded assembly: /Users/user135744/Library/Developer/CoreSimulator/Devices/4CAF0EF4-6D74-4DFE-868D-77521B5F3ECC/data/Containers/Bundle/Application/504D0970-FEE2-496C-B5B5-CEADBFA35891/ATSDriver.iOS.app/.monotouch-64/ATSDriver.dll
Loaded assembly: /Users/user135744/Library/Developer/CoreSimulator/Devices/4CAF0EF4-6D74-4DFE-868D-77521B5F3ECC/data/Containers/Bundle/Application/504D0970-FEE2-496C-B5B5-CEADBFA35891/ATSDriver.iOS.app/.monotouch-64/Xamarin.Forms.Platform.iOS.dll [External]
Loaded assembly: /Users/user135744/Library/Developer/CoreSimulator/Devices/4CAF0EF4-6D74-4DFE-868D-77521B5F3ECC/data/Containers/Bundle/Application/504D0970-FEE2-496C-B5B5-CEADBFA35891/ATSDriver.iOS.app/.monotouch-64/Xamarin.Forms.Core.dll [External]
Loaded assembly: /Users/user135744/Library/Developer/CoreSimulator/Devices/4CAF0EF4-6D74-4DFE-868D-77521B5F3ECC/data/Containers/Bundle/Application/504D0970-FEE2-496C-B5B5-CEADBFA35891/ATSDriver.iOS.app/.monotouch-64/System.Runtime.dll [External]
Loaded assembly: /Users/user135744/Library/Developer/CoreSimulator/Devices/4CAF0EF4-6D74-4DFE-868D-77521B5F3ECC/data/Containers/Bundle/Application/504D0970-FEE2-496C-B5B5-CEADBFA35891/ATSDriver.iOS.app/.monotouch-64/System.ObjectModel.dll [External]
Loaded assembly: /Users/user135744/Library/Developer/CoreSimulator/Devices/4CAF0EF4-6D74-4DFE-868D-77521B5F3ECC/data/Containers/Bundle/Application/504D0970-FEE2-496C-B5B5-CEADBFA35891/ATSDriver.iOS.app/.monotouch-64/System.Core.dll [External]
Loaded assembly: /Users/user135744/Library/Developer/CoreSimulator/Devices/4CAF0EF4-6D74-4DFE-868D-77521B5F3ECC/data/Containers/Bundle/Application/504D0970-FEE2-496C-B5B5-CEADBFA35891/ATSDriver.iOS.app/.monotouch-64/Mono.Security.dll [External]
Loaded assembly: /Users/user135744/Library/Developer/CoreSimulator/Devices/4CAF0EF4-6D74-4DFE-868D-77521B5F3ECC/data/Containers/Bundle/Application/504D0970-FEE2-496C-B5B5-CEADBFA35891/ATSDriver.iOS.app/.monotouch-64/System.Xml.dll [External]
Loaded assembly: /Users/user135744/Library/Developer/CoreSimulator/Devices/4CAF0EF4-6D74-4DFE-868D-77521B5F3ECC/data/Containers/Bundle/Application/504D0970-FEE2-496C-B5B5-CEADBFA35891/ATSDriver.iOS.app/.monotouch-64/System.ComponentModel.Composition.dll [External]
Loaded assembly: /Users/user135744/Library/Developer/CoreSimulator/Devices/4CAF0EF4-6D74-4DFE-868D-77521B5F3ECC/data/Containers/Bundle/Application/504D0970-FEE2-496C-B5B5-CEADBFA35891/ATSDriver.iOS.app/.monotouch-64/System.Collections.dll [External]
Loaded assembly: /Users/user135744/Library/Developer/CoreSimulator/Devices/4CAF0EF4-6D74-4DFE-868D-77521B5F3ECC/data/Containers/Bundle/Application/504D0970-FEE2-496C-B5B5-CEADBFA35891/ATSDriver.iOS.app/.monotouch-64/System.Diagnostics.Debug.dll [External]
Loaded assembly: /Users/user135744/Library/Developer/CoreSimulator/Devices/4CAF0EF4-6D74-4DFE-868D-77521B5F3ECC/data/Containers/Bundle/Application/504D0970-FEE2-496C-B5B5-CEADBFA35891/ATSDriver.iOS.app/.monotouch-64/System.Threading.Tasks.dll [External]
Loaded assembly: /Users/user135744/Library/Developer/CoreSimulator/Devices/4CAF0EF4-6D74-4DFE-868D-77521B5F3ECC/data/Containers/Bundle/Application/504D0970-FEE2-496C-B5B5-CEADBFA35891/ATSDriver.iOS.app/.monotouch-64/System.Threading.dll [External]
Loaded assembly: /Users/user135744/Library/Developer/CoreSimulator/Devices/4CAF0EF4-6D74-4DFE-868D-77521B5F3ECC/data/Containers/Bundle/Application/504D0970-FEE2-496C-B5B5-CEADBFA35891/ATSDriver.iOS.app/.monotouch-64/System.Globalization.dll [External]
Loaded assembly: /Users/user135744/Library/Developer/CoreSimulator/Devices/4CAF0EF4-6D74-4DFE-868D-77521B5F3ECC/data/Containers/Bundle/Application/504D0970-FEE2-496C-B5B5-CEADBFA35891/ATSDriver.iOS.app/.monotouch-64/System.ComponentModel.dll [External]
Loaded assembly: /Users/user135744/Library/Developer/CoreSimulator/Devices/4CAF0EF4-6D74-4DFE-868D-77521B5F3ECC/data/Containers/Bundle/Application/504D0970-FEE2-496C-B5B5-CEADBFA35891/ATSDriver.iOS.app/.monotouch-64/System.Xml.ReaderWriter.dll [External]
Loaded assembly: /Users/user135744/Library/Developer/CoreSimulator/Devices/4CAF0EF4-6D74-4DFE-868D-77521B5F3ECC/data/Containers/Bundle/Application/504D0970-FEE2-496C-B5B5-CEADBFA35891/ATSDriver.iOS.app/.monotouch-64/System.Reflection.dll [External]
Loaded assembly: /Users/user135744/Library/Developer/CoreSimulator/Devices/4CAF0EF4-6D74-4DFE-868D-77521B5F3ECC/data/Containers/Bundle/Application/504D0970-FEE2-496C-B5B5-CEADBFA35891/ATSDriver.iOS.app/.monotouch-64/System.Linq.Expressions.dll [External]
Loaded assembly: /Users/user135744/Library/Developer/CoreSimulator/Devices/4CAF0EF4-6D74-4DFE-868D-77521B5F3ECC/data/Containers/Bundle/Application/504D0970-FEE2-496C-B5B5-CEADBFA35891/ATSDriver.iOS.app/.monotouch-64/System.IO.dll [External]
Loaded assembly: /Users/user135744/Library/Developer/CoreSimulator/Devices/4CAF0EF4-6D74-4DFE-868D-77521B5F3ECC/data/Containers/Bundle/Application/504D0970-FEE2-496C-B5B5-CEADBFA35891/ATSDriver.iOS.app/.monotouch-64/System.Dynamic.Runtime.dll [External]
Loaded assembly: /Users/user135744/Library/Developer/CoreSimulator/Devices/4CAF0EF4-6D74-4DFE-868D-77521B5F3ECC/data/Containers/Bundle/Application/504D0970-FEE2-496C-B5B5-CEADBFA35891/ATSDriver.iOS.app/.monotouch-64/Xamarin.Forms.Platform.dll [External]
Loaded assembly: /Users/user135744/Library/Developer/CoreSimulator/Devices/4CAF0EF4-6D74-4DFE-868D-77521B5F3ECC/data/Containers/Bundle/Application/504D0970-FEE2-496C-B5B5-CEADBFA35891/ATSDriver.iOS.app/.monotouch-64/System.Net.Http.dll [External]
Loaded assembly: /Users/user135744/Library/Developer/CoreSimulator/Devices/4CAF0EF4-6D74-4DFE-868D-77521B5F3ECC/data/Containers/Bundle/Application/504D0970-FEE2-496C-B5B5-CEADBFA35891/ATSDriver.iOS.app/.monotouch-64/System.Runtime.Serialization.dll [External]
Loaded assembly: /Users/user135744/Library/Developer/CoreSimulator/Devices/4CAF0EF4-6D74-4DFE-868D-77521B5F3ECC/data/Containers/Bundle/Application/504D0970-FEE2-496C-B5B5-CEADBFA35891/ATSDriver.iOS.app/.monotouch-64/System.ServiceModel.Internals.dll [External]
Loaded assembly: /Users/user135744/Library/Developer/CoreSimulator/Devices/4CAF0EF4-6D74-4DFE-868D-77521B5F3ECC/data/Containers/Bundle/Application/504D0970-FEE2-496C-B5B5-CEADBFA35891/ATSDriver.iOS.app/.monotouch-64/System.Runtime.Extensions.dll [External]
Loaded assembly: /Users/user135744/Library/Developer/CoreSimulator/Devices/4CAF0EF4-6D74-4DFE-868D-77521B5F3ECC/data/Containers/Bundle/Application/504D0970-FEE2-496C-B5B5-CEADBFA35891/ATSDriver.iOS.app/.monotouch-64/System.Linq.dll [External]
Loaded assembly: /Users/user135744/Library/Developer/CoreSimulator/Devices/4CAF0EF4-6D74-4DFE-868D-77521B5F3ECC/data/Containers/Bundle/Application/504D0970-FEE2-496C-B5B5-CEADBFA35891/ATSDriver.iOS.app/.monotouch-64/System.Reflection.Extensions.dll [External]
Loaded assembly: /Users/user135744/Library/Developer/CoreSimulator/Devices/4CAF0EF4-6D74-4DFE-868D-77521B5F3ECC/data/Containers/Bundle/Application/504D0970-FEE2-496C-B5B5-CEADBFA35891/ATSDriver.iOS.app/.monotouch-64/Xamarin.Forms.Xaml.dll [External]
Loaded assembly: /Users/user135744/Library/Developer/CoreSimulator/Devices/4CAF0EF4-6D74-4DFE-868D-77521B5F3ECC/data/Containers/Bundle/Application/504D0970-FEE2-496C-B5B5-CEADBFA35891/ATSDriver.iOS.app/.monotouch-64/System.Text.RegularExpressions.dll [External]
Loaded assembly: /Users/user135744/Library/Developer/CoreSimulator/Devices/4CAF0EF4-6D74-4DFE-868D-77521B5F3ECC/data/Containers/Bundle/Application/504D0970-FEE2-496C-B5B5-CEADBFA35891/ATSDriver.iOS.app/.monotouch-64/System.Resources.ResourceManager.dll [External]
Loaded assembly: /Users/user135744/Library/Developer/CoreSimulator/Devices/4CAF0EF4-6D74-4DFE-868D-77521B5F3ECC/data/Containers/Bundle/Application/504D0970-FEE2-496C-B5B5-CEADBFA35891/ATSDriver.iOS.app/.monotouch-64/System.Diagnostics.Tools.dll [External]
The app has been terminated.

我该如何调试它?有什么办法可以弄清楚它为什么被终止?

最佳答案

我的问题是 iPad 安装的 iOS 版本比安装的 Xcode 版本更新。升级 Xcode 和 Xamarin 后,我能够在设备上进行部署。

关于c# - 该应用程序已在 Debug模式下终止,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49153144/

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