使用Delphi 10.4和XCode 10.1编译iOS应用程序时出现问题-找不到/ usr / bin / actool [英] Problem compiling iOS app with Delphi 10.4 and XCode 10.1 - could not find /usr/bin/actool

查看:369
本文介绍了使用Delphi 10.4和XCode 10.1编译iOS应用程序时出现问题-找不到/ usr / bin / actool的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这与我安装的XCode 10.1有关。

(10.1是我可以在MacOS High Sierra上安装的最高版本,我的机器一直支持到此版本)

This is related to the XCode 10.1 I installed.
(10.1 is the highest version I can install with MacOS High Sierra, which my machine supports up till)

Delphi 10.4,带有命令工具&的XCode 10.1其他工具。

Delphi 10.4, XCode 10.1 with Command Tools & Additional Tools.

编译时出现此错误:

[PAClient错误]错误:E6660找不到程序,'/ usr / bin / actool'

[PAClient Error] Error: E6660 Could not find program, '/usr/bin/actool'

我已经在论坛上检查了类似的问题:

I already checked forum for similar questions:

Delphi [PAClient错误]错误:E6660在macincloud中找不到程序'/ usr / bin / actool'环境

我选中了 actool使用/ usr / bin / xcrun -f actool

I checked "actool" using /usr/bin/xcrun -f actool

/Applications/Xcode.app/Contents/Developer/usr/bin/actool

/Applications/Xcode.app/Contents/Developer/usr/bin/actool

是因为我的actool位于/Applications/Xcode.app/Contents/Developer/usr/bin/actool
中,但是Delphi试图在/ usr / bin / actool中找到它?

Is it because my actool is located in /Applications/Xcode.app/Contents/Developer/usr/bin/actool but Delphi is trying to find it in /usr/bin/actool ?

如何告诉Delphi使用/Applications/Xcode.app/Contents/Developer/usr/bin/actool
或如何移动/复制/Applications/Xcode.app/Contents/Developer/usr/bin / actool
到/ usr / bin / actool

How do I tell Delphi to use /Applications/Xcode.app/Contents/Developer/usr/bin/actool or how do I move/copy /Applications/Xcode.app/Contents/Developer/usr/bin/actool to /usr/bin/actool

谢谢。

推荐答案

最好将两种Xcode更新为Xcode 11.5(因为Delphi从Xcode 12导入iOS 14存在问题),如果您有开发者帐户,可以从这里获取: https://developer.apple.com/download

Either update Xcode (which you should anyway) preferably to Xcode 11.5 (because there's an issue with Delphi importing iOS 14 from Xcode 12), which you can get from here if you have a developer account: https://developer.apple.com/download

..或打开终端窗口并:

..or open a Terminal window and:

cp /Applications/Xcode.app/Contents/Developer/usr/bin/actool /usr/bin

这篇关于使用Delphi 10.4和XCode 10.1编译iOS应用程序时出现问题-找不到/ usr / bin / actool的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆