xcode - 如何修复 Xamarin 中的 dsymutil

标签 xcode xamarin xamarin.ios dsymutil

我正在尝试在真实设备上构建 iOS 应用程序,但不幸的是我遇到了

dsymutil exited with code 1

我做过的事情:

  • 我确实搜索了谷歌,但它说我的硬盘已满,这不是 案例。

  • 我确实多次尝试清理和构建 - 没有成功

  • 我确实尝试使用命令 xcode-select 重新安装 CommandTools --install - 没有成功

  • 我确实删除了 CommandTools,然后重新安装 - 没有成功

仅供引用

  • 我正在使用 Xcode 11.4 Beta 2

  • 我在 Xcode 上使用我的 Apple 帐户登录

这个问题是什么原因造成的?

任何其他你想问的信息都可以问。

谢谢

构建日志:

  CIS.iOS -> D:\VS Projects\CIS\CIS\CIS\CIS.iOS\bin\iPhone\Debug\CIS.iOS.exe

  Detected signing identity:

    Code Signing Key: "#####"
 (7ECA06BC28377204C91D2E63E69C233982161B28)

    Provisioning Profile: "Development" (5aa7573d-6dc8-43e4-9bb0-c65efc5a361a)

    Bundle Id: com.#####

    App Id: 37M96SGRTW.com.#####

  /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/bin/mtouch @/Users/zilon/Library/Caches/Xamarin/mtbs/builds/CIS.iOS/0e17d2ede92713351eb68ac0146dd15c/obj/iPhone/Debug/response-file.rsp --gcc_flags=-ObjC 

C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): warning MT4174: Unable to locate the block to delegate conversion method for the method CIS.iOS.AppDelegate.WillPresentNotification's parameter #3.

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/dsymutil -t 4 -z -o bin/iPhone/Debug/CIS.iOS.app/../Protobuf.framework.dSYM bin/iPhone/Debug/CIS.iOS.app/Frameworks/Protobuf.framework/Protobuf 

C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(963,3): error MSB6006: "dsymutil" exited with code 1.

最佳答案

解决方法如下:

I went inside Xcode.

Preferences>Locations> Command Line Tools. Mine was on 13.2, needed to upgrade to 13.3 (Thought I already had but it must not have done it automatically)

Click here for more details

关于xcode - 如何修复 Xamarin 中的 dsymutil,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60447332/

相关文章:

objective-c - UITableView 设置选中行刷新控件

c# - Xamarin 是否支持在没有 mac 的 windows 机器上进行 iPad 和 iTouch 开发?

c# - Xamarin:跨平台获取设备信号强度和/或电池生命周期

xamarin - 向 Xamarin Forms iOS 中的条目添加底部边框,最后是图像

xamarin - 我需要从 .ttf 文件设置字体

c++ - 忽略 iOS 应用程序中的库以针对模拟器进行编译

ios - ALAssetsGroup numberOfAssets 在使用照片升级的 iPhone 上使用照片库返回 0

objective-c - 多个 Xcode 安装

android - Xamarin Android : Cannot embed jna-4. 2.0.jar 进入Android Binding项目

ios - Monotouch 获取 UiPickerView 选中项