我已经创建了一个示例 .net 核心 worker 服务应用程序。我想在 MAC 上对应用程序进行代码签名,但出现以下错误:
- Your Mach-O executable does not conform to modern Mach-O layout rules.
- You may be using a third party development product that hasn't been brought up to date, or post-processed your file in unsupported ways.
以下是创建可执行文件时提供的发布参数:
我在 csproj 文件中将 UseAppHost 添加为 true。但是仍然遇到同样的问题
<UseAppHost>true</UseAppHost>
最佳答案
似乎是单个文件的 .net 问题,应该在 .NET 6 中修复 https://github.com/dotnet/runtime/issues/3671
https://stackoverflow.com/questions/60946234/
相关文章:
c# - TransactionScope 抛出异常 "This platform does not
r - 将 ggpredict() 和 ggplot2() 与缩放的连续变量一起使用并尝试取消缩放它
haskell - 使用 Haskell 从麦克风捕获音频输入?
angular - 如何使用 angular 在 s3 中使用带有多个文件的预签名 url
python-3.x - Python 3.8 将 "open"视为导入的 openpyxl 方法而
perl - 为什么我的 perl Catalyst redirect_and_detach 替换插