mirror of
https://github.com/NohamR/Tweaks.git
synced 2026-08-26 02:39:42 +00:00
cloudquit
This commit is contained in:
3
CloudQuit/.gitignore
vendored
Normal file
3
CloudQuit/.gitignore
vendored
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
.theos/
|
||||||
|
packages/
|
||||||
|
.DS_Store
|
||||||
7
CloudQuit/CloudQuit.plist
Normal file
7
CloudQuit/CloudQuit.plist
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
Filter = {
|
||||||
|
Bundles = (
|
||||||
|
"com.example.cloudquit",
|
||||||
|
);
|
||||||
|
};
|
||||||
|
}
|
||||||
13
CloudQuit/Makefile
Normal file
13
CloudQuit/Makefile
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
TARGET = iphone:latest:14.0
|
||||||
|
INSTALL_TARGET_PROCESSES = com.example.cloudquit
|
||||||
|
ARCHS = arm64
|
||||||
|
|
||||||
|
include $(THEOS)/makefiles/common.mk
|
||||||
|
|
||||||
|
TWEAK_NAME = CloudQuit
|
||||||
|
|
||||||
|
CloudQuit_FILES = Tweak.x
|
||||||
|
CloudQuit_CFLAGS = -fobjc-arc
|
||||||
|
CloudQuit_FRAMEWORKS = Foundation
|
||||||
|
|
||||||
|
include $(THEOS_MAKE_PATH)/tweak.mk
|
||||||
12
CloudQuit/Tweak.x
Normal file
12
CloudQuit/Tweak.x
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
#import <substrate.h>
|
||||||
|
#import <Foundation/Foundation.h>
|
||||||
|
|
||||||
|
// iOS 16+ Crash Fix
|
||||||
|
%hook CKContainer
|
||||||
|
+ (id)defaultContainer {
|
||||||
|
return nil;
|
||||||
|
}
|
||||||
|
+ (id)containerWithIdentifier:(id) arg1 {
|
||||||
|
return nil;
|
||||||
|
}
|
||||||
|
%end
|
||||||
9
CloudQuit/control
Normal file
9
CloudQuit/control
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
Package: xyz.nohamr.cloudquit
|
||||||
|
Name: CloudQuit
|
||||||
|
Version: 1.0.0
|
||||||
|
Architecture: iphoneos-arm
|
||||||
|
Description: Fixes iOS 16+ CloudKit crashes by returning nil from CKContainer methods.
|
||||||
|
Maintainer: NohamR
|
||||||
|
Author: NohamR
|
||||||
|
Section: Tweaks
|
||||||
|
Depends: mobilesubstrate (>= 0.9.5000)
|
||||||
Reference in New Issue
Block a user