gpt4 book ai didi

macos - 在 OS X 上运行 Delphi 10 Seattle 应用程序时出现 Dylib 版本错误

转载 作者:行者123 更新时间:2023-12-03 15:57:49 25 4
gpt4 key购买 nike

RAD Studio 10 西雅图,德尔福个性。从头开始创建新的应用程序,并在其上添加一个按钮,并在其 OnClick 事件中添加 ShowMessage("Hello')。

在 Mac(10.10 Yosemite、XCode 7)上安装了 PAServer17.pkg。开始了。

RAD Studio 自动从 Mac 安装 SDK(10.11,这似乎是唯一可用的 SDK)。然后程序就会部署。但是当 PAServer 尝试启动它时,我收到以下错误:

================================================ 
Process Control Server Started pid 2422 exe
built Aug 7 2015 sentinelFunc 2424 dyld:
Library not loaded: /usr/lib/libSystem.dylib
Referenced from:
/Users/primoz/PAServer/scratch-dir/gabr-Milena/Project1.app/Contents/MacOS/Project1
Reason: Incompatible library version: Project1 requires version
112.0.97 or later, but libSystem.B.dylib provides version 1.0.
================================================

尝试清理 PAServer 暂存区域并重新安装 XCode 7。检查我的 PC 上只有一个 libSystem.B.dylib(通过 10.11 SDK 获取)。 OS X 上有该库的多个副本,但我不敢弄乱它们。

有什么想法吗?

最佳答案

看来问题出在10.11 SDK上(或者Delphi不知道如何处理)。

根据我在 Google+ 上从 Antonello Carlomagno 得到的建议,我这样做了:

  • https://developer.apple.com/xcode/download/ 下载了 Xcode 6.4 (它隐藏在底部的“其他工具”链接中)。
  • 从 Xcode_6.4.dmg (/Xcode/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs) 中提取 10.10 SDK 并将其复制到/Applications/Xcode/Contents/Developer/Platforms/MacOSX.platform/Developer/SDK。

然后我将此 SDK 导入 Delphi 10,OS X 编译现在可以工作。

关于macos - 在 OS X 上运行 Delphi 10 Seattle 应用程序时出现 Dylib 版本错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32735910/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com