summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2017-02-01 12:12:02 -0800
committerJay Freeman (saurik) <saurik@saurik.com>2017-02-01 12:12:02 -0800
commit8a4ad65983a54c6dcee1af656b3c666f77e0c25f (patch)
treebc30b1678df96eb159db6bf9ea47589d7b1fad7c
parent42e97527a93a5bf5db7d5389ceb71a00aa60a910 (diff)
armv7s is iOS 6+, so this will fix 32-bit iOS 10+.
-rw-r--r--Makefile2
-rw-r--r--Tweak.xm2
2 files changed, 2 insertions, 2 deletions
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]);