问题描述
这与我安装的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:
我选中了 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/actoolbut 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/actoolor how do I move/copy /Applications/Xcode.app/Contents/Developer/usr/bin/actoolto /usr/bin/actool
谢谢。
推荐答案
最好将两种Xcode更新为Xcode 11.5(因为Delphi从Xcode 12导入iOS 14存在问题),如果您有开发者帐户,可以从这里获取:
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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!