summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Aaron Burghardt2013-10-01 06:25:41 -0400
committerGravatar Martin Szulecki2013-10-24 14:40:41 +0200
commit606bd9ce5f4cf34716f7fc8c9202b78e4e353687 (patch)
treec7853b20a481804beccf24823ef410095c795cdf
parenta915466200f3105949fd4c95d1b5b2087a6c7e6b (diff)
downloadidevicerestore-606bd9ce5f4cf34716f7fc8c9202b78e4e353687.tar.gz
idevicerestore-606bd9ce5f4cf34716f7fc8c9202b78e4e353687.tar.bz2
Added warning about missing ‘SupportedProductTypes’ key in iPhoneOS 2.x IPSWs.
Signed-off-by: Martin Szulecki <m.szulecki@libimobiledevice.org>
-rw-r--r--src/idevicerestore.c2
1 files changed, 2 insertions, 0 deletions
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);