admin管理员组文章数量:1122832
I recently updated my MacOS to Sequoia and Xcode to 16.1. After I did those 2 updates I have not been able to compile any of my MAUI or Xamarin projects. I am getting the error indicated in the title (error : strip exited with code 72). The full error is below:
/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk8.0_18.0/18.0.8314/tools/msbuild/iOS/Xamarin.Shared.targets(3,3): Error: strip exited with code 72: objc[5867]: Class DVTNetworkDeviceAddress is implemented in both /Applications/Xcode.app/Contents/SharedFrameworks/DVTDeviceFoundation.framework/Versions/A/DVTDeviceFoundation (0x10609af58) and /Users/davidrutter/Downloads/Xcode.app/Contents/SharedFrameworks/DVTDeviceFoundation.framework/Versions/A/DVTDeviceFoundation (0x10b729f58). One of the two will be used. Which one is undefined. objc[5867]: Class DVTNetworkDeviceARPScanner is implemented in both /Applications/Xcode.app/Contents/SharedFrameworks/DVTDeviceFoundation.framework/Versions/A/DVTDeviceFoundation (0x10609afd0) and /Users/davidrutter/Downloads/Xcode.app/Contents/SharedFrameworks/DVTDeviceFoundation.framework/Versions/A/DVTDeviceFoundation (0x10b729fd0). One of the two will be used. Which one is undefined. objc[5867]: Class DVTNetworkDeviceMonitor is implemented in both /Applications/Xcode.app/Contents/SharedFrameworks/DVTDeviceFoundation.framework/Versions/A/DVTDeviceFoundation (0x10609aff8) and /Users/davidrutter/Downloads/Xcode.app/Contents/Sha (simul_bcfo.MAUI)
I am dead in the water until this issue is resolved. Any help is appreciated.
I recently updated my MacOS to Sequoia and Xcode to 16.1. After I did those 2 updates I have not been able to compile any of my MAUI or Xamarin projects. I am getting the error indicated in the title (error : strip exited with code 72). The full error is below:
/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk.net8.0_18.0/18.0.8314/tools/msbuild/iOS/Xamarin.Shared.targets(3,3): Error: strip exited with code 72: objc[5867]: Class DVTNetworkDeviceAddress is implemented in both /Applications/Xcode.app/Contents/SharedFrameworks/DVTDeviceFoundation.framework/Versions/A/DVTDeviceFoundation (0x10609af58) and /Users/davidrutter/Downloads/Xcode.app/Contents/SharedFrameworks/DVTDeviceFoundation.framework/Versions/A/DVTDeviceFoundation (0x10b729f58). One of the two will be used. Which one is undefined. objc[5867]: Class DVTNetworkDeviceARPScanner is implemented in both /Applications/Xcode.app/Contents/SharedFrameworks/DVTDeviceFoundation.framework/Versions/A/DVTDeviceFoundation (0x10609afd0) and /Users/davidrutter/Downloads/Xcode.app/Contents/SharedFrameworks/DVTDeviceFoundation.framework/Versions/A/DVTDeviceFoundation (0x10b729fd0). One of the two will be used. Which one is undefined. objc[5867]: Class DVTNetworkDeviceMonitor is implemented in both /Applications/Xcode.app/Contents/SharedFrameworks/DVTDeviceFoundation.framework/Versions/A/DVTDeviceFoundation (0x10609aff8) and /Users/davidrutter/Downloads/Xcode.app/Contents/Sha (simul_bcfo.MAUI)
I am dead in the water until this issue is resolved. Any help is appreciated.
Share Improve this question asked Nov 21, 2024 at 13:48 David RutterDavid Rutter 15112 bronze badges 2- It means that there are two Xcode on you Mac, please remove the Xcode in Downloads floder, and open Xcode, go to Settings->Locations->Command Line Tools, and check if you select the right path. – Liyun Zhang - MSFT Commented Nov 22, 2024 at 6:02
- That was the problem. Once I removed the version in the Download directory the apps all compiled successfully. Thank you for the help. – David Rutter Commented Nov 23, 2024 at 14:34
1 Answer
Reset to default 1Glad you solved the problem, I converted it to an answer, please view the solution.
It means that there are two Xcode on your Mac, please remove the Xcode in Downloads folder, and open Xcode, go to Settings->Locations->Command Line Tools, and check if you select the right path.
本文标签: Receiving errorstrip exited with code 72 when compiling MAUI projectStack Overflow
版权声明:本文标题:Receiving error : strip exited with code 72 when compiling MAUI project - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736310303a1934329.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论