mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-01 02:23:54 +00:00
7ae8a1e519
Newer SDKs have keys that xcbuild doesn’t recognize. These warnings generate a lot of noise, especially when `xcrun` is used in an interactive session, so suppress them.
27 lines
993 B
Diff
27 lines
993 B
Diff
diff --git a/Libraries/xcsdk/Sources/SDK/Product.cpp b/Libraries/xcsdk/Sources/SDK/Product.cpp
|
|
index f291d475c7..bc339f567c 100644
|
|
--- a/Libraries/xcsdk/Sources/SDK/Product.cpp
|
|
+++ b/Libraries/xcsdk/Sources/SDK/Product.cpp
|
|
@@ -33,7 +33,7 @@
|
|
auto PBV = unpack.cast <plist::String> ("ProductBuildVersion");
|
|
auto PC = unpack.cast <plist::String> ("ProductCopyright");
|
|
|
|
- if (!unpack.complete(true)) {
|
|
+ if (!unpack.complete(false)) {
|
|
fprintf(stderr, "%s", unpack.errorText().c_str());
|
|
}
|
|
|
|
diff --git a/Libraries/xcsdk/Sources/SDK/Target.cpp b/Libraries/xcsdk/Sources/SDK/Target.cpp
|
|
index 523c1e4cbd..2197b1d6d1 100644
|
|
--- a/Libraries/xcsdk/Sources/SDK/Target.cpp
|
|
+++ b/Libraries/xcsdk/Sources/SDK/Target.cpp
|
|
@@ -86,7 +86,7 @@
|
|
/* Ignored: seems to be a typo. */
|
|
(void)unpack.cast <plist::String> ("isBaseSDK");
|
|
|
|
- if (!unpack.complete(true)) {
|
|
+ if (!unpack.complete(false)) {
|
|
fprintf(stderr, "%s", unpack.errorText().c_str());
|
|
}
|
|
|