From: Jay Freeman (saurik) Date: Wed, 1 Feb 2017 20:12:02 +0000 (-0800) Subject: armv7s is iOS 6+, so this will fix 32-bit iOS 10+. X-Git-Tag: v0.9.6001~2 X-Git-Url: https://git.saurik.com/safemode-ios.git/commitdiff_plain/8a4ad65983a54c6dcee1af656b3c666f77e0c25f?ds=sidebyside armv7s is iOS 6+, so this will fix 32-bit iOS 10+. --- diff --git a/Makefile b/Makefile index fa4942a..dcbf53d 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ TARGET := iphone:7.1:2.0 -ARCHS := armv6 arm64 +ARCHS := armv6 armv7s arm64 PACKAGE_VERSION := $(shell ./version.sh) include theos/makefiles/common.mk diff --git a/Tweak.xm b/Tweak.xm index 7c7c20a..f2748d6 100644 --- a/Tweak.xm +++ b/Tweak.xm @@ -107,7 +107,7 @@ void SafeModeAlertItem$alertView$clickedButtonAtIndex$(id self, SEL sel, id shee void SafeModeAlertItem$configure$requirePasscodeForActions$(id self, SEL sel, BOOL configure, BOOL require) { NSString *text(@"We apologize for the inconvenience, but SpringBoard has just crashed.\n\nMobileSubstrate /did not/ cause this problem: it has protected you from it.\n\nSpringBoard is now running in Safe Mode. All extensions that support this safety system are disabled.\n\nReboot (or restart SpringBoard) to return to the normal mode. To return to this dialog touch the status bar.\n\nTap \"Help\" below for more tips."); -#ifdef __arm64__ +#if defined(__ARM_ARCH_7S__) || defined(__arm64__) if ([self respondsToSelector:@selector(alertController)]) { UIAlertController *alert([self alertController]);