Hi hive mind,
I have Xcode Beta 4 and I've been trying to use the "cktool" development tool for command line interaction with CloudKit, but for whatever reason when I follow the video from WWDC21-10118, xcrun cannot find cktool.
HAs anyone managed to run the tool as yet? I am assuming not, because there are no questions about cktool in the forum as far as I can tell.
Or.... it just works and I'm doing something dumb.
Either way some assistance would be great, especially from our friends in Apple.
It is possible to have multiple Xcode installations on your machine, please confirm that you have switched to use Xcode 13.
First, verify your default Xcode path from Terminal:
xcode-select -p
/Applications/Xcode.app/Contents/Developer
cktool
should live under that installation directory, in the /usr/bin
directory:
/Applications/Xcode.app/Contents/Developer/user/bin/cktool
If you have installed Xcode 13 into a different location--such as /Applications/XcodeBeta.app
, switch it using xcode-select
:
sudo xcode-select -s /Applications/XcodeBeta.app
Then xcrun cktool
should work.
Pease post back how it goes.