Loading...
--- dyld/dyld-960/common/MachOFile.cpp
+++ dyld/dyld-940/common/MachOFile.cpp
@@ -574,6 +574,7 @@
if ( (this->filetype == MH_EXECUTE) && (processPlatform == Platform::macOS) && this->builtForPlatform(Platform::iOS, true) )
return true;
#endif
+
bool iOSonMac = (processPlatform == Platform::iOSMac);
#if (TARGET_OS_OSX && TARGET_CPU_ARM64)
@@ -1898,7 +1899,7 @@
}
else {
char strBuf[256];
- diag.error("fat file, but missing compatible architecture (have (%s), need (%s))", ff->archNames(strBuf), archs.name());
+ diag.error("fat file, but missing compatible architecture (have '%s', need '%s')", ff->archNames(strBuf), archs.name());
return nullptr;
}
}
@@ -1912,7 +1913,7 @@
}
if ( archs.grade(mf->cputype, mf->cpusubtype, isOSBinary) == 0 ) {
- diag.error("mach-o file, but is an incompatible architecture (have (%s), need (%s))", mf->archName(), archs.name());
+ diag.error("mach-o file, but is an incompatible architecture (have '%s', need '%s')", mf->archName(), archs.name());
return nullptr;
}
@@ -1921,7 +1922,7 @@
mf->forEachSupportedPlatform(^(Platform aPlat, uint32_t minOS, uint32_t sdk) {
havePlatform = aPlat;
});
- diag.error("mach-o file (%s), but incompatible platform (have (%s), need (%s))", path, MachOFile::platformName(havePlatform), MachOFile::platformName(platform));
+ diag.error("mach-o file (%s), but incompatible platform (have '%s', need '%s')", path, MachOFile::platformName(havePlatform), MachOFile::platformName(platform));
return nullptr;
}