代码之家  ›  专栏  ›  技术社区  ›  Divyesh

Visual Studio Community 2022 for Mac 17.0版(内部版本8989)存在问题(iOS应用程序未运行)

  •  0
  • Divyesh  · 技术社区  · 4 年前

    我最近安装了适用于Mac和Xcode 13.4版的Visual Studio 2022。当我试图在iOS模拟器中运行任何应用程序时,它会显示以下错误:

    错误HE0042:无法在设备“iOS 15.5(19F70)-iPhone 11”上启动应用程序“com.companyname.ProCalendar”:“com.companyname.ProBus”的应用程序启动既没有返回有效的pid,也没有返回启动错误。

    这个IDE肯定有一些问题,因为同样的项目在Visual Studio 2019中运行良好。有人知道变通办法吗?

    Visual Studio 2022 for Mac详细信息

    Visual Studio Community 2022 for Mac
    Version 17.0 (build 8989)
    Installation UUID: 195d8d45-8498-4720-8d1b-e8cc1ce9085f
    
    Runtime
    .NET 6.0.3 (64-bit)
    Architecture: Arm64
    
    Roslyn (Language Service)
    4.1.0-3.22075.3+592501cbb9c9394072a245c15b3458ff88155d85
    
    NuGet
    Version: 6.0.0.262
    
    .NET SDK (Arm64)
    SDK: /usr/local/share/dotnet/sdk/6.0.300/Sdks
    SDK Version: 6.0.300
    MSBuild SDKs: /usr/local/share/dotnet/sdk/6.0.300/Sdks
    
    .NET SDK (x64)
    SDK Versions:
        6.0.300
        6.0.101
        5.0.408
        5.0.404
        3.1.419
        3.1.416
    
    .NET Runtime (Arm64)
    Runtime: /usr/local/share/dotnet/dotnet
    Runtime Version: 6.0.5
    
    .NET Runtime (x64)
    Runtime: /usr/local/share/dotnet/x64/dotnet
    Runtime Versions:
        6.0.5
        6.0.1
        5.0.17
        5.0.13
        3.1.25
        3.1.22
    
    Xamarin.Profiler
    Version: 1.8.0.19
    Location: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler
    
    Updater
    Version: 11
    
    Apple Developer Tools
    Xcode 13.4 (20503)
    Build 13F17a
    
    Xamarin.Mac
    Xamarin.Mac not installed. Can't find /Library/Frameworks/Xamarin.Mac.framework/Versions/Current/Version.
    
    Xamarin.iOS
    Version: 15.10.0.1 (Visual Studio Community)
    Hash: 568bdb24e
    Branch: d17-2
    Build date: 2022-04-08 18:52:57-0400
    
    Xamarin Designer
    Version: 17.1.5.90
    Hash: 53f47efde
    Branch: remotes/origin/d17-0-vsmac
    Build date: 2022-05-18 17:28:05 UTC
    
    SDK Command-line Tools Version: 5.0
    SDK Platform Tools Version: 31.0.3
    SDK Build Tools Version: 30.0.3
    
    Build Information: 
    Mono: adf1bc4
    Java.Interop: xamarin/java.interop/d17-2@9760f0a9
    ProGuard: Guardsquare/proguard/v7.0.1@912d149
    SQLite: xamarin/sqlite/3.38.2@7b1e016
    Xamarin.Android Tools: xamarin/xamarin-android-tools/d17-2@fc3c2ac
    
    
    Build Information
    Release ID: 1700008989
    Git revision: 55998773faa2cb1dda7aab5fecd1625f7b664d10
    Build date: 2022-05-18 17:25:46+00
    Build branch: release-17.0
    Build lane: release-17.0
    
    Operating System
    Mac OS X 12.4.0
    Darwin 21.5.0 Darwin Kernel Version 21.5.0
        Tue Apr 26 21:08:29 PDT 2022
        root:xnu-8020.121.3~4/RELEASE_ARM64_T8101 arm64
    
    
    0 回复  |  直到 4 年前
        1
  •  1
  •   Alexandar May    4 年前

    this link ,请尝试安装此程序包: xamarin.ios-15.10.0.5.pkg

    如果您需要恢复到已发布的稳定版本,只需在VSMac中选择稳定通道并更新Xamarin.iOS即可。