Darwin Build Environment Help Center

build.cmd is not recognized

append delete Tom_H

Windows 11
Builder v (LLVM/Clang 19 1.4, Swift 6.1.2, Id64 955.13-2025-828, cctools 1024.3)
iOS 26.0 SDK
Attempting to build and deploy the Unity AR template to my iPhone to test whether future work using Darwin will be possible. The process fails each time as the 'build.cmd' file is not recognised. See link below.

https://pmbaty.com/paste/9b29a851c356941b#9a6c4toQno4nxcsBN9y1Q11LWLWyZ6zTbxvK6bDxHkvj

Any help would be much appreciated.
Thanks
Tom

Reply RSS

Replies

append delete #1. Pierre-Marie Baty

Hello Tom

Your paste URL produces a 404 error. It might have been copy/pasted incorrectly (missing characters?)

Could you please paste it again ?

append delete #2. TomH
append delete #3. Pierre-Marie Baty

Okay. Assuming that file exists (and it definitely should, unless your installation was aborted or something deleted files from it - please confirm it does first), then it likely means that the .cmd file extension on your computer has been assigned to something else than the default.

Files with .cmd extension should be, like .bat files, associated with the Windows command interpreter. To make sure it's the case on your machine, open a command prompt and type:

% Windows command prompt
assoc .cmd
%

It should output: .cmd=cmdfile
Then validate that the "cmdfile" type is executed directly and not through another program:

% Windows command prompt
ftype cmdfile
%

It should output: cmdfile="%1" %*

If it outputs anything different than the above, open the command prompt in *Administrator* mode, and type:

% Windows command prompt (Administrator mode)
assoc .cmd=cmdfile
ftype cmdfile="%1" %*
%

Let me know if it fixes the problem.

append delete #4. TomHa

Hi, I reinstalled the Project Builder, which resolved my initial issue with the build.cmd file being missing. However, I was still not able to build my project. I assume this might be an issue with the current version of the Project Builder being incompatible with the Apple SDKs I migrated.

https://pmbaty.com/paste/?7fec6b37626ab1ce#9VjFgK6C82SDqhYDUBJbzrbmv4Qok4qL89QdZkq47MT1

append delete #5. Pierre-Marie Baty

That's very likely. iOS 26 is just a few days old and I haven't had a chance yet to try and build anything with the iOS/macOS 26 SDKs. It is very likely that the Swift and Clang compilers need an upgrade.

My advices are in order:

- Downgrade your iOS SDK if you can (take one from xcodereleases.com). iOS 18.5 is the one I use at the moment.
- Wait for an official update of the builder that will support these new SDKs if you're not in a hurry.
- If you're in a hurry, you may try updating the compiler and linker yourself (they're the official Swift and Clang/LLVM releases for Win32). But this is not a straightforward operation so only do that if you're knowledgeable enough with these tools.

:: @Pierre-Marie Baty added on 20 Sep ’25 · 12:49

*edit* I grab the occasion to thank you for nudging me into working on this update. I was expecting some popup to appear on my iPhone to notify me when the new OS was available but it didn't happen and I was caught off guard. It should be done in the coming days.

append delete #6. TomHa

Thanks, I’ll try again when you’ve released the official update as I’m in no rush. Really appreciate the time you’ve taken to look into it! I’ll (hopefully) be able to add evidence of a successful build to this thread afterwards to show the issue has been resolved.

append delete #7. Pierre-Marie Baty

I'm finishing the tests with the iOS 26 SDK. Looking good so far. If everything succeeds I'll upload it today.

:: @Pierre-Marie Baty added on 27 Sep ’25 · 08:31

The update is live. Happy building!

Reply

(Leave this as-is, it’s a trap!)

There is no need to “register”, just enter the same name + password of your choice every time.

Pro tip: Use markup to add links, quotes and more.

Moderators: Pierre-Marie Baty