gpt4 book ai didi

ios - 无法执行/usr/bin/xcrun simctl install... 在 iOS 模拟器上部署 Delphi 应用程序时

转载 作者:行者123 更新时间:2023-11-29 11:33:01 31 4
gpt4 key购买 nike

我正在尝试设置用于发布 iOS 应用程序的环境。

在我的 Windows PC 上我使用 RAD Studio 10.2 Update 3 并从其中一个示例创建了一个新的 Delphi 应用程序。

在我的 Mac 上我有 XCode 8.2、iOS 10.0 模拟器、PAServer 19.0(正在运行)。

在 RAD Studio 中 我用值“iOSSimulator”覆盖“PLATFORM”环境变量(在我的 HP PC 中使用它)。我为 Mac 定义了一个连接配置文件,它可以工作。我在 SDK 中添加了 iPhoneSimulator 10.2(这是唯一一个被提议的)。

当我在 RAD Studio 中运行应用程序时,它在部署阶段一段时间后失败并显示此对话框消息(我混淆了 IP):

Unable to launch process on '123.123.123.123' using the parametersfrom the 'Mac VM di XCodeClub' profile.

The following error wasreturned: 'Unable to execute '"/usr/bin/xcrun" simctl install"/Users/xcodeclub/PAServer/scratch-dir/bluish-...VM dibluish/MasterDetailApplication.app"' (Error 117)

Usage: simctl install <device> <path>

'

问题是什么?丢失文件,错误调用 simctl ...?

如果我将目标更改为 OS X(添加 SDK 并将“PLATFORM”更改为“OSX32”),它会起作用。

最佳答案

我昨天遇到了完全相同的问题,经过大量试验和错误后,我发现安装 Xcode 时安装的默认 iOS 模拟器不受 Delphi 支持,因此由于缺少兼容的 SDK 而产生该错误。

因为我使用的是最高支持 iOS 10.3.2 的 Delphi 10.3.1 Rio,所以我使用 Xcode/Components 来安装它,瞧,一切都解决了。

在你的情况下,我建议你先找出支持的 iOS 模拟器版本,或者简单地选择一些旧版本并继续前进:)

希望我帮到了你。

关于ios - 无法执行/usr/bin/xcrun simctl install... 在 iOS 模拟器上部署 Delphi 应用程序时,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51729790/

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