From 606bd9ce5f4cf34716f7fc8c9202b78e4e353687 Mon Sep 17 00:00:00 2001 From: Aaron Burghardt Date: Tue, 1 Oct 2013 06:25:41 -0400 Subject: Added warning about missing ‘SupportedProductTypes’ key in iPhoneOS 2.x IPSWs. Signed-off-by: Martin Szulecki --- src/idevicerestore.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/idevicerestore.c b/src/idevicerestore.c index b27ea8c..9717676 100644 --- a/src/idevicerestore.c +++ b/src/idevicerestore.c @@ -1538,6 +1538,8 @@ int build_manifest_check_compatibility(plist_t build_manifest, const char* produ plist_t node = plist_dict_get_item(build_manifest, "SupportedProductTypes"); if (!node || (plist_get_node_type(node) != PLIST_ARRAY)) { debug("%s: ERROR: SupportedProductTypes key missing\n", __func__); + debug("%s: WARNING: If attempting to install iPhoneOS 2.x, be advised that Restore.plist does not contain the", __func__); + debug("%s: WARNING: key 'SupportedProductTypes'. Recommendation is to manually add it to the Restore.plist.", __func__); return -1; } uint32_t pc = plist_array_get_size(node); -- cgit v1.1-32-gdbae