gpt4 book ai didi

ios - Xamarin.iOS 无法编译项目 "app was built for iOS 10.2 which is newer than this simulator"

转载 作者:行者123 更新时间:2023-12-01 22:24:57 26 4
gpt4 key购买 nike

我正在使用 Xamarin.iOS,现在我正在使用 library(from GitHub) 进行一些测试提供一些 Material UI 元素,它已经有一个 Xamarin 绑定(bind)和一些示例,问题是我无法编译示例项目 .

我收到以下错误: dyld:应用程序是为 iOS 10.2 构建的,比这个模拟器 10.1 更新

/Users/user/Projects/MaterialControls.Xamarin.Sample/iOS/LaunchScreen.storyboard: Error: dyld: app was built for iOS 10.2 which is newer than this simulator 10.1 2017-03-10 11:57:49.396 ibtoold[3878:537684] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEInterfaceBuilder/IDEInterfaceBuilder-11762/InterfaceBuilderKit/Utilities/IBAbstractInterfaceBuilderPlatformToolManager.m:254 Details: Failed to attach to Interface Builder Cocoa Touch Tool with error: Error Domain=com.apple.InterfaceBuilder Code=-1 "Encountered an error communicating with Interface Builder Cocoa Touch Tool." UserInfo={NSUnderlyingError=0x7fdce34aea00 {Error Domain=com.apple.InterfaceBuilder Code=-1 "Failed to launch Interface Builder Cocoa Touch Tool via CoreSimulator spawn" UserInfo={NSLocalizedDescription=Failed to launch Interface Builder Cocoa Touch Tool via CoreSimulator spawn, NSUnderlyingError=0x7fdce345dfb0 {Error Domain=com.apple.InterfaceBuilder Code=-1 "Failed to handshake with platform tool" UserInfo={NSUnderlyingError=0x7fdce3467550 {Error Domain=com.apple.InterfaceBuilder Code=-1 "" UserInfo=0x7fdce0c18e70 (not displayed)}, NSLocalizedFailureReason=Failed to open connection over FIFOs with platform tool, NSLocalizedDescription=Failed to handshake with platform tool}}}}, NSLocalizedDescription=Encountered an error communicating with Interface Builder Cocoa Touch Tool., NSLocalizedRecoverySuggestion=Please check Console.app for crash reports for "Interface Builder Cocoa Touch Tool" for further information., NSLocalizedFailureReason=Interface Builder Cocoa Touch Tool (3880) failed to launch and exited with status 6} Object: Method: +_THREADSAFE_launchNewToolWithLaunchContext:executionContext:toolProxyClass:failureContext:requestingMethod:error:forReason: Thread: {number = 1, name = main} Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide. 2017-03-10 11:57:49.563 ibtoold[3878:537684] [MT] IBPlatformTool: *** Failed to launch tool with description System content 2x for IBCocoaTouchFramework-NineOneAndLater w/ default fidelity: Encountered an error communicating with Interface Builder Cocoa Touch Tool. (Failure reason: Interface Builder Cocoa Touch Tool (3880) failed to launch and exited with status 6): Failed to launch Interface Builder Cocoa Touch Tool via CoreSimulator spawn: Failed to handshake with platform tool (Failure reason: Failed to open connection over FIFOs with platform tool): : Failed to open FIFOs for handshaking with platform tool (Failure reason: Interface Builder Cocoa Touch Tool exited before we could handshake) 2017-03-10 11:58:00.489 ibtoold[3878:537684] [MT] IBPlatformTool: Wrote failed marshalling request diagnostics to path: /var/folders/ys/w39_59552d9f24bfwk9cvjlm0000gq/T/IB-agent-diagnostics_2017-03-10_11-57-55_996000 (MaterialControls.Xamarin.Sample.iOS)



这是我尝试过的:
  • 更新Xcode(已经有最新版本8.2.1 8C1002)
  • 更新到 macOS Sierra
  • 再次更新 Xcode(它说它为 Sierra 安装了一些新工具)
  • 更新 Xamarin Studio(已经有最新版本)
  • 更新项目包
  • 尝试使用 10.2 创建模拟器,但它没有显示为选项
  • 尝试安装 10.2 运行时,但它没有显示为下载
  • 的选项
  • 尝试在 10.2.1 (14D27)
  • 的 iPhone 上运行
  • 将部署目标更改为不同的版本

  • 以上都不起作用,我不断收到同样的错误。我对 iOS 开发非常陌生,我只为 Android 使用过 Xamarin,所以我可能会遗漏一些明显的东西。

    任何帮助将不胜感激。

    最佳答案

    在这种情况下对我有用的是删除全局可用的模拟器目录 /Library/Developer/CoreSimulator/ .

    关于ios - Xamarin.iOS 无法编译项目 "app was built for iOS 10.2 which is newer than this simulator",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42725401/

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