xcodebackend: Fix iterating compilers after host/build changes
Fixes
@@ -738,7 +738,7 @@ class XCodeBackend(backends.Backend):
ldstr = ' '.join(ldargs)
valid = self.buildconfmap[target_name][buildtype]
langargs = {}
- for lang in self.environment.coredata.compilers:
+ for lang in self.environment.coredata.compilers[target.for_machine]:
if lang not in langnamemap:
continue
# Add compile args added using add_project_arguments()
