I am doing some research and testing for the GNU LilyPond project. (http://lilypond.org, sheet music engraving software) This is part of an effort to produce a 64-bit macOS version of the software as required by the next macOS version; currently only 32-bit is offered. The installer packages for LilyPond are built using not XCode, but a cross-compiler on Linux (http://lilypond.org/gub/) which produces installers for Linux, macOS, Windows, and FreeBSD. It looks like that build system would need a newer version of the macOS SDK from XCode to produce a 64-bit macOS installer; currently it appears to use Mac OS X SDK 10.4u. And a quick reading of the current XCode Software Licence Agreement finds that Section 2.5 "Copies" does not allow for using any part of XCode on anything but Apple-branded hardware. I am unsure which Apple forum is best for further discussion on that. If this one is suitable, I'll continue here. Otherwise, which one should I use?
A requirement to restrict the use of Xcode files to Apple-branded hardware is not a new development. You can check the Wayback Machine for Xcode licenses back to 2011, which have the same wording. You can also download old copies of Xcode and check their licenses. Out of curiosity, I did just that. Unfortunately, the first version of Xcode (2.4) that supports 64-bit code also has the Apple-branded restriction. I also checked Xcode versions 2.2.1 and 2.3 that include the 10.4 SDK. These also have the Apple-branded restriction. There is a stand-alone 10.4 SDK installer available for download that does not have this restriction. Hopefully that is the SDK that you've been using this whole time.
Going forward, I suggest that your project acquire a Mac or someone with a Mac to do builds and testing. A Mac can also do Linux and Windows builds.