我正在尝试在真实设备上构建 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)
关于xcode - 如何修复 Xamarin 中的 dsymutil,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60447332/