The first time you start Xcode you have to agree to a license or it won't open. So, that is the time you make the deal, or, sell your soul.
I realize f.lux was distributing a compiled binary instead of telling people to compile it from source, but I think Apple would have sent them a C&D just the same if it were just source.