1

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 with Command Tools & Additional Tools.

I got this error when compiling:

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

I already checked forum for similar questions:

Delphi [PAClient Error] Error: E6660 Could not find program, '/usr/bin/actool' in a macincloud enviroment

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

/Applications/Xcode.app/Contents/Developer/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 ?

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

Thanks.

Peter W.
  • 115
  • 1
  • 8

1 Answers1

1

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
Dave Nottage
  • 3,411
  • 1
  • 20
  • 57
  • Hi Dave, thanks for the reply. I'm not able to run Xcode 11.5 due to MacOS version constraint. I tried cp... command it says Permission Denied. I disabled Mac's SIP. Users-iMac:~ user$ csrutil status System Integrity Protection status: disabled. Users-iMac:~ user$ cp /Applications/XCode.app/Contents/Developer/usr/bin/actool /usr/bin cp: /usr/bin/actool: Permission denied – Peter W. Oct 03 '20 at 03:12
  • 1
    Try with sudo before cp, i.e. `sudo cp /Applications/Xcode.app/Contents/Developer/usr/bin/actool /usr/bin` – Dave Nottage Oct 03 '20 at 03:14
  • It seems almost impossible to copy files to /usr/bin even though SIP already disabled. Is there another workaround? For example, telling Delphi where the actool is found... or any other way to copy to /usr/bin? I'm using MacOS High Sierra. – Peter W. Oct 03 '20 at 03:14
  • 1
    Hi Dave, all the googling didn't solve the problem; you did! thanks so much! Really appreciate the solution! – Peter W. Oct 03 '20 at 06:11