当我尝试使用托管的 mac 代理构建 iOS 项目时出现这两个错误。
lipo : error : unable to find utility "lipo", not a developer tool or in PATH [/Users/runner/runners/2.158.0/work/1/s/src/LOT/iOS/LOT.iOS.csproj]
MTOUCH : error MT5306: Failed to create the a fat library. Please review the build log. [/Users/runner/runners/2.158.0/work/1/s/src/LOT/iOS/LOT.iOS.csproj]
已选择xcode版本10.2.1
我根据本参考文献中给出的解决方案对此进行了更改, https://forums.xamarin.com/discussion/31493/mtouchtask-error-mt5206-failed-to-create-the-a-fat-library-please-review-该-build-log-mt5206
其他一些链接表明这可能是由于许可证引起的,并且尝试过sudo xcodebuild -license accept
仍然无法正常工作。有什么线索吗?
更新:
选择 xcode 后11.1
,lipo : error : unable to find utility "lipo", not a developer tool or in PATH [/Users/runner/runners/2.158.0/work/1/s/src/LOT/iOS/LOT.iOS.csproj]
错误已解决。